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

getitem error #8

Closed lorenzoromani1983 closed 6 years ago

lorenzoromani1983 commented 6 years ago

Previously I was able to use tweet. Now not anymore. i get this error:

TypeError: 'NoneType' object has no attribute 'getitem'

what next?

lorenzo

grepsedawk commented 6 years ago

How do you reproduce this error?

On Tue, Dec 5, 2017, 8:49 AM lorenzoromani1983 notifications@github.com wrote:

Previously I was able to use tweet. Now not anymore. i get this error:

TypeError: 'NoneType' object has no attribute 'getitem'

what next?

lorenzo

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/haccer/tweep/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AGaPSzAT5qn0CCc5boRE2f8LnLsil1x7ks5s9VgCgaJpZM4Q2aIB .

lorenzoromani1983 commented 6 years ago

just typing python tweep.py -u username in the command line. i have python 2.7

grepsedawk commented 6 years ago

Are you positive you have the proper dependencies installed?

On Tue, Dec 5, 2017, 8:54 AM lorenzoromani1983 notifications@github.com wrote:

just typing python tweep.py -u username in the command line. i have python 2.7

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/haccer/tweep/issues/8#issuecomment-349327857, or mute the thread https://github.com/notifications/unsubscribe-auth/AGaPS_UoVA9RMY3roVPyhrMArs_Rl6F_ks5s9VkzgaJpZM4Q2aIB .

lorenzoromani1983 commented 6 years ago

yes...i do!

lorenzoromani1983 commented 6 years ago

Solved by using linux. do you think it is possible to modify the script in order to scrape all the followers/friends of a user, or of a list of users, in order to make a network graph without having to wait weeks? The API is really inefficient for this kind of work...

haccer commented 6 years ago

Oh, yeah I use linux lol.

Scraping followers is difficult, the tweets are scrapable via a trick w/ the search operators. Followers can't be scraped in that way, it'd have to involve some nasty selenium work because the only way to get a person's followers is scrolling down the list.