MatthewWolff/TwitterScraper

Search no longer works

CucumberSandwich opened this issue · 3 comments

I don't believe twitter allows you to search through a specific user anymore. All the searches yield 0 results.

I jumped to the form_url method in scrape.py and manually formed a search url and it worked for me. When I tried it on myself (private twitter account) I got 0 results, despite having tweeted recently. However, when searching for a public user, it worked. Try the below url as an example—does it give you results?

https://twitter.com/search?f=tweets&vertical=default&q=from%3Apotus44

That URL works for me but this doesn't, and the account isn't private. I don't know if any other settings can be set to avoid searches though.

https://twitter.com/search?f=tweets&vertical=default&q=from%3Arusthackreport

error does not appear to be based in the scraper