steevenakintilo / TwitterGiveawayBot

A bot that make you participate to any twitter giveaway
Apache License 2.0
18 stars 3 forks source link

Error Snscraper #1

Closed Rana-0003 closed 1 year ago

Rana-0003 commented 1 year ago

I did unzip cromedriver file and move it to Twitter giveaway directory and also did pip install snscraper.

Help me out if i did any mistake, i'm getting this error :

Error Unable to find guest token Traceback (most recent call last): File "E:\TwitterGiveawayBot-main\get_tweet.py", line 282, in search giveaway For i,tweet in enumerate(sntwitter.TwitterSearchScraper(text).get_items() ): File "C:\Users\Max\AppData\Local\Programs\Python36\lib\site.packages\snscrape\modules\twitter.py", line 131, in get_items guestToken = self._get_guest_token() File "C:\Users\Max\AppData\Local\Programs\Python36\lib\site.packages\snscrape\modules\twitter.py", line 109, in _get_guest_token raise snscrape.base.ScraperExecption('Unable to find guest token') snscrape.base.ScraperExecption: Unable to find guest token

steevenakintilo commented 1 year ago

Oh never got this error but it's seems the error come from snscrape. Could you do pip list command And tell me the version of sncrape ?

steevenakintilo commented 1 year ago

Did it worked ? If no try this command https://github.com/JustAnotherArchivist/snscrape.git And retry launching the program

Rana-0003 commented 1 year ago

Issue was my python version was 3.6.0 so latest version of snscrape 0.6.2 couldn't be installed on lower 3.8 python version.

Thanks for the help!!!

steevenakintilo commented 1 year ago

Ok ok good then happy to have helped