I need to download a very large number of pdf files (would be tedious if not impossible to collect and collate all the links) from my university website using wget, with links like this:
I am using the following command:
wget -mk --no-check-certificate --load-cookies cookies.txt http://example.edu/arbitrary_link_to_directory/directory/
Unfortunately the actual directories which contain the pdfs each redirect to an error page, and all I get are a bunch of html and css files.
would in a browser redirect one to
Would it be possible to download the all files in question using wget at all?