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
Describe the bug
Always get RuntimeError: No guest token found after five retry in a few days.
To Reproduce twspace_dl -U https://twitter.com/some_user
Expected behavior
Work normally
Output
If applicable, add the output of the command to help explain your problem.
Traceback (most recent call last):er:4
File "/home/epix/.local/bin/twspace_dl", line 8, in <module>
sys.exit(main())
File "/home/epix/.local/lib/python3.9/site-packages/twspace_dl/__main__.py", line 120, in main
twspace_dl = TwspaceDL.from_user_tweets(args.user_url, args.output)
File "/home/epix/.local/lib/python3.9/site-packages/twspace_dl/TwspaceDL.py", line 39, in from_user_tweets
user_id = TwspaceDL.user_id(url)
File "/home/epix/.local/lib/python3.9/site-packages/twspace_dl/TwspaceDL.py", line 123, in user_id
"x-guest-token": TwspaceDL.guest_token(),
File "/home/epix/.local/lib/python3.9/site-packages/twspace_dl/TwspaceDL.py", line 146, in guest_token
raise RuntimeError("No guest token found after five retry")
RuntimeError: No guest token found after five retry
Desktop (please complete the following information):
Describe the bug
Always get
RuntimeError: No guest token found after five retry
in a few days.To Reproduce
twspace_dl -U https://twitter.com/some_user
Expected behavior
Work normally
Output
If applicable, add the output of the command to help explain your problem.
Desktop (please complete the following information):
Additional context
Twitter may be changing the API. Need a new way to get guest tokens.
some reference:
JustAnotherArchivist/snscrape#326 (comment)
JustAnotherArchivist/snscrape#325 (comment)
JustAnotherArchivist/snscrape@0336ce1
Will try referred methods myself if I have some spare time.
The text was updated successfully, but these errors were encountered: