rdbis / twint

An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
MIT License
0 stars 0 forks source link

[BUG] twint.token.RefreshTokenException: Could not find the Guest token in HTML #3

Open rdbis opened 1 year ago

rdbis commented 1 year ago

Command Ran

python3 test.py results in the following error: [+] Beginning vanilla test in <function Profile at 0x000002C6CCE5A950> Traceback (most recent call last): File "C:\Users\XX\twint-github\test.py", line 92, in main() File "C:\Users\XX\twint-github\test.py", line 78, in main test(c, run) File "C:\Users\XX\twint-github\test.py", line 11, in test_reg run(c) File "C:\Users\XX\twint-github\twint\run.py", line 398, in Profile run(config) File "C:\Users\XX\twint-github\twint\run.py", line 329, in run get_event_loop().run_until_complete(Twint(config).main(callback)) File "C:\Users\XX\twint-github\twint\run.py", line 36, in init self.token.refresh() File "C:\Users\XX\twint-github\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

rdbis commented 1 year ago

no repro so far, sporadic error

rdbis commented 1 year ago

afer fix for ""[BUG] SearchProfile (twitter.run.Profile) uses obsolete API (timeline) #5" - no repro.