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.75k stars 2.72k forks source link

twint.run.Profile(c) not returning results; twint 2.1.7 #565

Closed calebglawson closed 4 years ago

calebglawson commented 4 years ago

Initial Check

Command Ran

c = twint.Config() c.Username = "staff" c.Output = "tweets.json" twint.run.Profile(c)

Description of Issue

When the above command is run, the script returns "[!] Twitter does not return more data, scrape stops here."

Workaround

Downgraded my twint install to 2.1.6, and am able to fetch results again.

Environment Details

Windows 10, Python 3.7, running from command line

pielco11 commented 4 years ago

You have to add c.Profile_full = True since you want to specify that you want to get the timeline. twint.run.Profile can be used even to get some retweets, so you have to specify if you want to use that function for a mean or another.

https://github.com/twintproject/twint/wiki/Configuration#profile

Plus, that profile is not shadow-banned so I suggest you to use twint.run.Search function instead (it's faster)