Hi guys, I know this is completely offtopic for nethserver, but we have quite some decent coders in our community. So I thought, maybe any of you can help this non-coder with creating a script to daily scrape a html table from a website. The Url of the website is always the same
The table has a clear table definition in a div
The table header is always the same:
< div class=“text”>
< table class=“table table-striped” cellspacing=“0”>
< th>Column one
< th>Column two
< th>Column three
< th>Column four
The table contents is updated every day and can contain the same content as the previous day. There also can be new rows added.
The table body is between
The table is not the only contents of the webpage.
Ultimately I would like the script to be a cron job on my NethServer server and store the output as a csv with timestamp as name.
Any pointers and help is very much appreciated…