You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bottom line is that Amazon blocks requests that do not come from a legitimate browser.
In order to combat it, we need to add appropriate headers: headers = {'User-Agent' : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64)'} req = urllib.request.Request (someUrl, headers=headers)
The text was updated successfully, but these errors were encountered:
This issue is described here.
The bottom line is that Amazon blocks requests that do not come from a legitimate browser.
In order to combat it, we need to add appropriate headers:
headers = {'User-Agent' : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64)'}
req = urllib.request.Request (someUrl, headers=headers)
The text was updated successfully, but these errors were encountered: