We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Here we can see the list of every attribute of the user object, we can access attributes via dot notation User.id.
user
User.id
These attributes can be used to format the output (config.Format) and to customize the fields to save in the files (config.Custom["users"]):
config.Format
config.Custom["users"]
- {id} - {name} - {username} - {bio} - {location} - {url} - {join_date} - {join_time} - {tweets} - {following} - {followers} - {likes} - {media} - {private} - {verified} - {avatar} - {background_image}
user objects are scraped when one of these functions is used:
twint.run.Lookup
twint.run.Followers
twint.run.Following
import twint c = twint.Config() c.Username = "username" c.Format = "ID {id} | Username {username}" twint.run.Lookup(c)
import twint c = twint.Config() c.Username = "username" c.Custom["user"] = ["id", "username"] c.Output = "username.csv" c.Store_csv = True twint.run.Lookup(c)