Skip to content
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

Twitter: UserByScreenName api fails #995

Closed
0bmay opened this issue Jun 30, 2023 · 2 comments
Closed

Twitter: UserByScreenName api fails #995

0bmay opened this issue Jun 30, 2023 · 2 comments
Labels
bug Something isn't working module:twitter upstream

Comments

@0bmay
Copy link

0bmay commented Jun 30, 2023

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

@0bmay 0bmay added the bug Something isn't working label Jun 30, 2023
@0bmay
Copy link
Author

0bmay commented Jun 30, 2023

looks like twitter is completely destroying the ability to get tweets while logged out

@JustAnotherArchivist
Copy link
Owner

Closing this in favour of the more general #996; all endpoints are affected.

@JustAnotherArchivist JustAnotherArchivist closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:twitter upstream
Projects
None yet
Development

No branches or pull requests

2 participants