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

[ISSUE] Search not working with python 3.7.3 #545

Closed jalperin closed 4 years ago

jalperin commented 4 years ago

Command Ran

Please provide the exact command ran including the username/search/code so I may reproduce the issue.


import twint
# Configure
c = twint.Config()
c.Username = "noneprivate"
c.Search = "#FORCE2019"
c.Format = "Tweet id: {id} | Tweet: {tweet}"
c.Limit = 20

twint.run.Search(c)



### Description of Issue
When running the above code it does not return anything. It just returns with no error, but also no output. This happens regardless of the Username or Search set up in the Cofig object. 

### Environment Details
MacOS 10.13.6
jalperin commented 4 years ago

Replicated on Ubuntu 16.04 and Python 3.6.6

pielco11 commented 4 years ago

Please check your query via Twitter Search first

jalperin commented 4 years ago

What do you mean? The search returns results

pielco11 commented 4 years ago

You specified c.Username = "noneprivate", this is the actual results page

jalperin commented 4 years ago

Thank you. Understood. The documentation was not clear—to me or my colleague—that this Username would be used in the query.