Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python requests cannot find existing url

# credit to the user in the source link

headers = {'User-Agent': 'My User Agent 1.0', 'From': 'youremail@domain.com'}

response = requests.get(url, headers = headers)

# use authentic mozilla or chrome user - agent strings if this doesn't work
# NOTE: this solved a problem I had. It may not be yours
Source by pretagteam.com #
 
PREVIOUS NEXT
Tagged: #python #requests #find #existing #url
ADD COMMENT
Topic
Name
9+7 =