Unofficial Twitter Hashtag Scraper using free proxies
Project description
Twitter Hashtag Scraper
Unofficial Twitter hashtag scraper using free proxies. No API keys required
Installation
pip install twitter-hashtag-scraper
Usage
Import the package and create an object of the scraper using:
- hashtag (str): hashtag to scrap
- use_proxy (boolean): boolean to activate proxies or not
- output_path (str, optional): output path. Defaults to None.
- max_tweets (int, optional): max number of tweets to download else try to get tweets until scroll is over. Defaults to None.
Then calling the method collect() will retrieve the data
from twitter_hashtag_scraper import TwitterHashtagScraper
TwitterHashtagScraper(hashtag="#MalagaCF",use_proxy=True,output_path="/Users/myuser/Desktop",max_tweets=None).collect()
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
File details
Details for the file twitter-hashtag-scraper-1.1.0.tar.gz
.
File metadata
- Download URL: twitter-hashtag-scraper-1.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffef9df025160c07151ac037e6bfef392f84e49e896b7d76dad09bf141cc299b |
|
MD5 | 2bd7a191c36dd6e3b3d2f330a68520f2 |
|
BLAKE2b-256 | 0ae044e30fe2b6f0e29bc86bee87717c110a710995d562fbcbdf3b5340a92a80 |