Skip to main content

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

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.

Source Distribution

all_twitter_scraper-0.0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

all_twitter_scraper-0.0.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file all_twitter_scraper-0.0.2.tar.gz.

File metadata

  • Download URL: all_twitter_scraper-0.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.9

File hashes

Hashes for all_twitter_scraper-0.0.2.tar.gz
Algorithm Hash digest
SHA256 20c1eae59d0f60e9e5f5042528f0cef6e97d8e0fe91cc7ec0c6d47076f195ec2
MD5 6c05aed0c115e7fb1df3729c67d93f67
BLAKE2b-256 4c8959139e3b6333ea5b267194a702a5553d7c2b8a3e8110256e212ad7139a9a

See more details on using hashes here.

File details

Details for the file all_twitter_scraper-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: all_twitter_scraper-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.9

File hashes

Hashes for all_twitter_scraper-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1967d466d7634116863b49280586606ae36a688c1dbb2f04ef521d4aa85db5f
MD5 257d188bfb9bae26db4c67753ef11b5a
BLAKE2b-256 d2c3e8b71eaa7a9bde354f7ad15d9e5eae82bee84bc5f59e363701d637f5142c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page