Closed 0bmay closed 1 year ago
error getting user id by screen name:
snscrape.base.ScraperException: 4 requests to https://twitter.com/i/api/graphql/pVrmNaXcxPjisIvKtLDMEA/UserByScreenName?variables=%7B%22screen_name%22%3A%22%22%2C%22withSafetyModeUserFields%22%3Atrue%7D&features=%7B%22blue_business_profile_image_shape_enabled%22%3Atrue%2C%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22highlights_tweets_tab_ui_enabled%22%3Afalse%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Afalse%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%7D failed, giving up.
search any profile
not an error. :) return data
No response
Ubuntu 22.04.2 LTS
python3 --version
Python 3.10.6
snscrape --version
snscrape 0.7.0.20230622
TwitterProfileScraper
CLI (snscrape ... as a command, e.g. in a terminal)
snscrape ...
looks like twitter is completely destroying the ability to get tweets while logged out
Closing this in favour of the more general #996; all endpoints are affected.
Describe the bug
error getting user id by screen name:
snscrape.base.ScraperException: 4 requests to https://twitter.com/i/api/graphql/pVrmNaXcxPjisIvKtLDMEA/UserByScreenName?variables=%7B%22screen_name%22%3A%22%22%2C%22withSafetyModeUserFields%22%3Atrue%7D&features=%7B%22blue_business_profile_image_shape_enabled%22%3Atrue%2C%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22highlights_tweets_tab_ui_enabled%22%3Afalse%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Afalse%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%7D failed, giving up.
How to reproduce
search any profile
Expected behaviour
not an error. :) return data
Screenshots and recordings
No response
Operating system
Ubuntu 22.04.2 LTS
Python version: output of
python3 --version
Python 3.10.6
snscrape version: output of
snscrape --version
snscrape 0.7.0.20230622
Scraper
TwitterProfileScraper
How are you using snscrape?
CLI (
snscrape ...
as a command, e.g. in a terminal)Backtrace
No response
Log output
No response
Dump of locals
No response
Additional context
No response