This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Other examples
Francesco Poldi edited this page Nov 24, 2019
·
3 revisions
twint -u username --links include
import twint
c = twint.Config()
c.Username = "username"
c.Links = "include"
twint.run.Search(c)
twint -u username --source "Twitter Web Client"
import twint
c = twint.Config()
c.Username = "username"
c.Source = "Twitter Web Client"
twint.run.Search(c)
twint -s keyword --min-likes 5
import twint
c = twint.Config()
c.Search = "keyword"
c.Min_likes = 5
twint.run.Search(c)
4 - Return tweets containing a specific keyword, that have at least 5 likes and that are part of a given users list
twint -s keyword --min-likes 5 --members-list "ph055a/osint"
import twint
c = twint.Config()
c.Search = "keyword"
c.Min_likes = 5
c.Members_list = "ph055a/osint"
twint.run.Search(c)
In this example we get 100 tweets written in English and translate them in Italian
twint -u noneprivacy --csv --output none.csv --lang en --translate --translate-dest it --limit 100
import twint
c = twint.Config()
c.Username = "noneprivacy"
c.Limit = 100
c.Store_csv = True
c.Output = "none.csv"
c.Lang = "en"
c.Translate = True
c.TranslateDest = "it"
twint.run.Search(c)