TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
Project description
TweeterPy
Overview
TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
Note :
Use it on Your Own Risk. Scraping with Residential proxies is advisable while extracting data at scale/in bulk. If possible, use multiple accounts to fetch data from Twitter.
DON'T USE YOUR PERSONAL ACCOUNT FOR SCRAPING PURPOSES.
Installation
Install TweeterPy with pip
pip install tweeterpy
Usage/Examples
python quickstart.py
OR
from twitter import TweeterPy
# proxy = {'http': 'proxy_here', 'https': 'proxy_here'}
proxy = None
TweeterPy(proxies=proxy, log_level="INFO")
Example - Get User ID of a User.
from tweeterpy import TweeterPy
twitter = TweeterPy()
print(twitter.get_user_id('elonmusk'))
Documentation
Check out step by step guide.
Features
- Extracts Tweets
- Extracts User's Followers
- Extracts User's Followings
- Extracts User's Profile Details
- Extracts Twitter Profile Media and much more.
Authors
Feedback
If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman
Support
For support, email hello@sarabjitdhiman.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tweeterpy-2.0.8.tar.gz
.
File metadata
- Download URL: tweeterpy-2.0.8.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1380717805ad15e36688e5a8e3ce2567b4939d5ec535d63ee2948065b6396338 |
|
MD5 | 0b261e0ed91d85e9132b71a6abdcbe1c |
|
BLAKE2b-256 | ef32dd53f67912b1b43e3ee5ec5083fbfab49a01f741917b3c8c2278a6209f14 |
File details
Details for the file tweeterpy-2.0.8-py3-none-any.whl
.
File metadata
- Download URL: tweeterpy-2.0.8-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c2d7f7ecbc49bffe57d57d7007b44e511430db14b2a88b3d706d1019abfab3 |
|
MD5 | b44b51cc8ba022912546524c91dd2451 |
|
BLAKE2b-256 | bd4b29956686728724648478813fdec4667978b185e641aef33fe01e9d4fdca1 |