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
When I played the game, every time I went to the end of the screen(aka. the wall) it just teleports me to the opposite end. I looked in the code for where it tells the snake to do that but I didn't find it. I want to change the code so the game will stop when I go to the end. Thanks!
Try adding 'user-agent' as a header in the request:
requests.get(url, headers={'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36'})
Webscraping-baby-yoda-with-requests-and-bs4,
ran the code but getting above error, how can I download google search images?
The text was updated successfully, but these errors were encountered: