taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.4k stars 581 forks source link

No results from advanced query #182

Open tinyweasel opened 5 years ago

tinyweasel commented 5 years ago

twitterscraper airbnb%20near%3A"Dublin%20City%2C%20Ireland"%20within%3A50mi%20since%3A2016-01-01%20until%3A2019-01-31 --output=tweets.json

INFO: Got 0 tweets for airbnb%20near%3ADublin%20City%2C%20Ireland%20within%3A50mi%20since%3A2016-01-01%20until%3A2019-01-31%20since%3A2018-01-16%20until%3A2018-09-13.

tinyweasel commented 5 years ago

Using the Twitter search interface gets more than zero results. Am I doing something wrong?

https://twitter.com/search?l=&q=airbnb%20near%3A"Dublin%20City%2C%20Ireland"%20within%3A50mi%20since%3A2016-01-01%20until%3A2019-01-31&src=typd

RachadAbiChahine commented 5 years ago

I have the same problem I suspect IP black listing from tweeter I am working on this to be sure, but what I am sure from, that i am getting more results using vpn. yesterday for this request I had 40K result : twitterscraper "réfugiés" -bd 2014-05-01 -ed 2014-05-10 -o réfugiés_tweexts.json --lang fr today 0 with my isp 80 with VPN

tinyweasel commented 5 years ago

I'll try a VPN.

renatomello commented 5 years ago

Did it work? Is it really black listing from Twitter?

taspinar commented 5 years ago

@RachadAbiChahine With Twitter website's advanced search I get about 1250 tweets for that query. With twitterscraper ~1400. How were you able to get 40K tweets for that query?

In any case, It could be that twitter is blocking some ip addresses

ctynan8 commented 5 years ago

It does look like my advanced Twitter search worked; I am mostly wondering how to locate these files on my MacBook because I cannot find them anywhere in Finder? (also want to be sure I have Python and Twitterscraper properly installed, it's been while since I've used this and never on my own laptop before)

This is what I got, no errors ( at least not for the advanced search like this):

$ l=&q=uae%2C%20yemen%2C%20saudi%20%20since%3A2019-02-01%20until%3A2019-07-17&src=typd&lang=en [1] 85514 [2] 85515 [3] 85516 [1] Done l= [2] Done q=uae%2C%20yemen%2C%20saudi%20%20since%3A2019-02-01%20until%3A2019-07-17 [3]+ Done src=typd