Reputation: 685
Is there any way to write a linux script to press a button on a webpage and download the file generated? Here is the website.. http://kos.twojeip.net
I need to write a script that presses "Pobierz wszystkie" (Download ALL), Its the 3rd button from the left on top....
I was playing with lynx & wget but not having any joy as there are no html links..
Upvotes: 1
Views: 1103
Reputation: 86774
All you have to do is enclose the extremely long URL in double quotes and use the -O
(upper-case letter O) option to wget:
wget -O output.txt "http://.... extremely long URL "
Upvotes: 1