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)
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)