twitterUsernamefromUserID

twitterUsernameviaUserID is an advanced Twitter scraping tool written in Python and Selenium that allows for scraping tweet usernames from the twitter id's, without using Twitter's API.

MIT License

Downloads
98
Stars
17
Committers
4

No authentication. No API. No limits.

twitterUsernameviaUserID is an advanced Twitter scraping tool written in Python and Selenium that allows for scraping tweet usernames from the twitter id's, without using Twitter's API.

tl;dr Benefits

Some of the benefits of using twitterUsernameviaUserID vs Twitter API:

  • Can fetch all tweet usernames from their id's (Twitter API limits to last 3200 Tweets only);
  • Fast initial setup;
  • Can be used anonymously and without Twitter sign up;
  • No rate limitations.

Requirements

  • Python >= 3.6
  • Selenium
  • WebDriver Manager

Installing

Pip:

- pip3 install twitterUsernameviaUserID
- Voila!

Example:

    from twitterUsernameviaUserID import getHandles as gH
    # A dictionary with mapped user ids to their usernames
    temp= gH.getHandles([<list of user ids (in string)>], <delay in seconds>)
Package Rankings
Top 16.78% on Pypi.org
Badges
Extracted from project README
Pull Requests Welcome first-timers-only Friendly GitHub license Selenium Python Chrome