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

Cant read follows_list when User_full is enabled #582

Closed adnanmig closed 4 years ago

adnanmig commented 4 years ago

Command Ran

import twint c = twint.Config() startnode = 'UbwuCKwD0eIrLDr' c.Username = startnode c.Store_object = True c.User_full = True twint.run.Followers(c) print(twint.output.follows_list)

Description of Issue

When "c.User_full = True" is used, print command outputs empty list. If "c.User_full" is removed, the print command prints user ids.

Environment Details

Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic Python 3.6.8 (default, Oct 7 2019, 12:59:55) [GCC 8.3.0] on linux

pielco11 commented 4 years ago

You have to use users = twint.output.users_list

adnanmig commented 4 years ago

Thanks, did I miss this in the Wiki somewhere? If yes, please refer me to it. If no, never mind.

pielco11 commented 4 years ago

There you go! https://github.com/twintproject/twint/wiki/Storing-objects-in-RAM#users-info