You need to use a web crawler that can trigger the button pushed event such as Python Scrapy. If you are a Perl person then I used to use www-mechanize.
Sent on the move. Original Message From: Roberto Verzola Sent: Friday, April 3, 2015 9:45 AM To: Philippine Linux Users' Group (PLUG) Technical Discussion List Reply To: Philippine Linux Users' Group (PLUG) Technical Discussion List Subject: [plug] downloading a php result The output of the url below is a .CSV file (hourly-updated electricity demand for Luzon). http://wesm.ph/chart/export/luzon_dmd_csv_export.php?date=20150403&hour=10 This url is triggered when I click on a button online. What I want to do is to download the resulting .csv file using wget. But I keep getting an empty .csv file when using wget (I've tried several suggestion I got on the Web). I know a .csv file is generated somewhere because I get it when I click the CSV button online. Any suggestions? Have a peaceful Holy Week! Obet _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph