SyntaxFix
Write A Post
Hire A Developer
Questions
You can use urllib:
import urllib.request urllib.request.urlretrieve(url, "filename.pdf")