-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in geo parsing in v2 API #143
Comments
Thanks! I think this is missing in the code - when a tweet has exact geo but no This should fix it: if "geo" in payload and "place_id" in payload["geo"]:
place_id = payload["geo"]['place_id']
payload["geo"] = merge_dicts(payload["geo"], includes_places[place_id]) |
Check to see if a tweet contains exact geo point without a place id.
I want wait for official release (I'm build docker containers -- it will be little bit harder to prepare container with updated lib), when it will be released? |
No idea, but if you don't want to wait you can install the patch directly with pip, from the branch like this:
Or
Or put
Directly into a |
Describe the bug
During download tweets in academic api i had problem that collect results stops.
To Reproduce
Steps (and code snippet) to reproduce the behavior:
Code is part of bigger system and I can't put simple code. I cant to reproduce it on new snippet because error archive limit of monthly tweets scrap 😕
Expected behavior
I want to scrap tweets without error.
Environment
Additional context
Error log
The text was updated successfully, but these errors were encountered: