shaikhsajid1111 / twitter-scraper-selenium

Python's package to scrap Twitter's front-end easily
https://pypi.org/project/twitter-scraper-selenium
MIT License
299 stars 46 forks source link

Tweets did not appear #76

Open corpuzdonn opened 1 year ago

corpuzdonn commented 1 year ago

Hello I keep getting this error. I am new to this package so i do not know what I am missing.

"Tweets did not appear!, Try setting headless=False to see what is happening"

ihabpalamino commented 12 months ago

having same problem

ansisme commented 12 months ago

same issue

mleita commented 11 months ago

Same!

ihabpalamino commented 11 months ago

@shaikhsajid1111 i have posted some questions in facebook scraping if u can help me there please

shaikhsajid1111 commented 11 months ago

What method are you using?, I assume profile scraping method should work but hashtag and keyword requires authentication

ansisme commented 11 months ago

I have used third party twitter login via Supabase, so I am inside the Twitter Logged in page for my profile, I need to scrape the data of the hashtags and keywords in order to achieve a functionality, but using this scraper I was not able to even tho i am logged in. Would you let me know how to scrape when logged in already ?

shaikhsajid1111 commented 11 months ago

@ansisme The feature was there initially but I removed it intentionally. This commit https://github.com/shaikhsajid1111/twitter-scraper-selenium/commit/9ce26412ccd38026de0abd88606618eb8d6c26c3 needs to be reverted for Python scripts, and than you can pass browser profile of logged in browser, it'll use that session, but do it at your own risks because that might lead to blocking of your account. One with self.profile and brower_profile variables should be focused for reverting keeping in mind that current selectors do not change