I'm trying to download this published journal article using
cURL. It's the main page of an open access, so there should be not problems for anyone to see/download the article. I then extract the
pdfurl, which keeps changing.
Then I try to download the pdf:
curl -L -o test.pdf "http://www.sciencedirect.com/science/article/pii/S0378426612000817/pdfft?md5=6a85f34def09dd5cfb1d1b8feded0d51&pid=1-s2.0-S0378426612000817-main.pdf"
but all the time it redirects me to the main page, which is then downloaded as a html page called "test.pdf".