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

[QUESTION] How to stop Twint from printing on the terminal while crawling tweets/followings/followers ? #559

Closed sudoknight closed 4 years ago

sudoknight commented 4 years ago

Environment Details

Ubuntu, Python 3.6

import twint c = twint.Config() c.Username = "abc" c.Limit = 5 c.Store_object = True

twint.run.Following(c) ls_follow = twint.output.follows_list print(ls_follow)

pielco11 commented 4 years ago

Add c.Hide_output = True https://github.com/twintproject/twint/wiki/Configuration