maybe with library https://docs.python.org/3/library/urllib.request.html
example
from urllib.request import urlretrieve urlretrieve(link_url, 'path_to_your_folder/give_me_a_name.pdf')