twintproject / 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
15.65k stars 2.72k forks source link

[QUESTION] How does the "Near" option work? #1133

Open PikaRapier opened 3 years ago

PikaRapier commented 3 years ago

Qn1 :Hi, I would like to understand how does the "Near" option work? For example, if i indicate c.Near = "Boston", how does TWINT retrieve tweets that are near or from Boston, based on what parameters?

Qn2: Can I put in country or state (e.g. Alaska or Michigan) in the c.Near option? Will it work?

jecs89 commented 3 years ago

Hi Pika. This near parameter refers to the geolocalization of the place, besides you could write longitude and latitude values. Besides, you can set a radius, i.e. 20km and collect all the data inside of the circle.

sawsanowa commented 3 years ago

Hi @jecs89 I tried config.near=long,lat,radius and still not getting accurate results it brings data from everywhere!!