-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
HELP!!! Could not find the Guest token in HTML! #1324
Comments
Same as #1320. It looks like it might be a recent issue. Also getting this on ubuntu VM, and mac with no VPN |
It looks like this amendment to the token.py file fixes the issue: |
Overwrite "token.py" with this => https://github.com/Museum-Barberini/twint/edit/fix/RefreshTokenException/twint/token.py
|
fix Could not find the Guest token in JSON issue taken from twintproject#1324
for me not working either |
Issue
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/twint", line 33, in
sys.exit(load_entry_point('twint==2.1.21', 'console_scripts', 'twint')())
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twint/cli.py", line 339, in run_as_command
main()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twint/cli.py", line 330, in main
run.Search(c)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twint/run.py", line 410, in Search
run(config, callback)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twint/run.py", line 329, in run
get_event_loop().run_until_complete(Twint(config).main(callback))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twint/run.py", line 36, in init
self.token.refresh()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/twint/token.py", line 69, in refresh
raise RefreshTokenException('Could not find the Guest token in HTML')
twint.token.RefreshTokenException: Could not find the Guest token in HTML
Initial Check
Description of Issue
Environment Details
The text was updated successfully, but these errors were encountered: