0

I have a little issue automating the download of some files.

If a get the link headers it returns a 'Content-Type': 'text/html;charset=utf-8' and I need that returns the .pdf to get the name.

What I'm doing wrong?

req = requests.get(link)
  • Is this what you're looking for? https://stackoverflow.com/questions/34503412/download-and-save-pdf-file-with-python-requests-module – Prateek Dewan May 15 '20 at 15:39
  • when I click on that link I get a CAPTCHA check, presumably your code is triggering the same because the site doesn't want you to automatically download all their content... – Sam Mason May 15 '20 at 15:49

0 Answers0