I�m looking for an automatic way to save the source code of an website to a file. My questions is, it is possible to control elinks from a script, pipe or cli? I need to open a website, login on this site by a webform, submit the form, open an new url and save the source code of a data-sheet on this site. Can anybody help me?
Yes, i have tested curl and wget, but i don't get the source-code of the page because there are some problems with javascript. I've got the following source code:
This is the same url as i loaded before. The javascript code reload the same page. But if i load the url with curl or wget a second time, i get a 302 Error.
The same problems by using "lynx" and "w3m". Only "links" and "elinks" shows the content of the page correctly. Thats why i'm looking for a possibility to control the text-browser from a script.
Thanks
---------- Post updated 12-02-14 at 02:37 PM ---------- Previous update was 12-01-14 at 04:59 PM ----------