Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

cannot connect with default user agent #5

Open
bvschwartz opened this issue Sep 8, 2022 · 0 comments
Open

cannot connect with default user agent #5

bvschwartz opened this issue Sep 8, 2022 · 0 comments

Comments

@bvschwartz
Copy link

I had to set the user agent to something different. Code change:

me = requests.get('https://pixelplanet.fun/api/me', headers={'user-agent': user_agent}).json()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant