Skip to main content

Get all tweets filtered by the parameters that are in twitter advanced search.

Project description


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


To install all_twitter_scraper package, simply run:

pip install all_twitter_scraper


An example that clears most of the package parameters:

from all_twitter_scraper.modules.Twitter_Scraper import Twitter_Scraper
from datetime import date
from all_twitter_scraper.modules.Criteria import Criteria

if __name__ == "__main__":
	criteria = Criteria()
	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

Buy Me A Coffee

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for all-twitter-scraper, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size all_twitter_scraper-0.0.4-py3-none-any.whl (8.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size all_twitter_scraper-0.0.4.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page