I need some help in getting all pdf files from a website after logging into a session. Website requires me to enter my email address then it logs me into a session where it gives me link to download all the pdf files.
Is there a way i can automate this using wget or curl?
You may try something like this:
wget --user=<your_username> --password=<your_pass> -r -np -nd -l1 -A '*.pdf' http://your-url/
I tried this it didnt work, this site does not require password..it only prompt your email address and then takes you to the download page.
I don't know, may be you should try to pass directly the download url and the email as a username.
Or something like this:
wget --post-data 'email=<your_email>' ...