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.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_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
Release files for all-twitter-scraper 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| all_twitter_scraper-0.0.4.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| all_twitter_scraper-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / all_twitter_scraper-0.0.4.tar.gz
| Download URL | all_twitter_scraper-0.0.4.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
add94f0c497c0dc832f4e7f1114c73d68b135d5ce3be8bc6f0969723af1e3ae7
|
|
BLAKE2b-256 checksum How to use checksums |
92e831dd55c99af2506b914c6f41d674a76a78afe650d2fb30f0784d4312c43c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / all_twitter_scraper-0.0.4-py3-none-any.whl
| Download URL | all_twitter_scraper-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68cae8ff6e6c83c7df05a315c329d16ffcfc45f5ef5f8220b20af4ccae95ebec
|
|
BLAKE2b-256 checksum How to use checksums |
647730d0644e2077797d7d8fc911f0fda25f16a4b7bb7b41aed3f25820d975c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|