Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.5 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.5 KB

Pull Requests Welcome first-timers-only Friendly GitHub license Selenium Python Chrome

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>)