Get all tweets filtered by the parameters that are in twitter advanced search.
Project description
all_twitter_scraper
All twitter scraper gets all tweets filtered by the parameters that are in twitter advanced search such as tweets that: include specific keywords, does not include specific keywords, include exact phrase, include specific hashtags, etc..
Table of Contents
Installation
To install all_twitter_scraper package, simply run:
pip install all_twitter_scraper
Usage
An example that clears most of the package parameters:
from all_twitter_scraper.Twitter_Scraper import Twitter_Scraper
from datetime import date
from all_twitter_scraper.Criteria import Criteria
if __name__ == "__main__":
criteria = Criteria()
criteria.set_language('ar')
criteria.set_since_date(date(2019, 1, 1))
criteria.set_until_date(date(2020, 4, 1))
criteria.set_all_of_keywords(['Mohammed', 'Aly'])
twitter_scraper = Twitter_Scraper()
tweets = twitter_scraper.scrap(criteria, return_tweets_list=True)
Buy me a coffee
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
Close
Hashes for all_twitter_scraper-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c1eae59d0f60e9e5f5042528f0cef6e97d8e0fe91cc7ec0c6d47076f195ec2 |
|
MD5 | 6c05aed0c115e7fb1df3729c67d93f67 |
|
BLAKE2b-256 | 4c8959139e3b6333ea5b267194a702a5553d7c2b8a3e8110256e212ad7139a9a |
Close
Hashes for all_twitter_scraper-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1967d466d7634116863b49280586606ae36a688c1dbb2f04ef521d4aa85db5f |
|
MD5 | 257d188bfb9bae26db4c67753ef11b5a |
|
BLAKE2b-256 | d2c3e8b71eaa7a9bde354f7ad15d9e5eae82bee84bc5f59e363701d637f5142c |