All Projects → PJHRobles → Twitter Get Old Tweets Scraper

PJHRobles / Twitter Get Old Tweets Scraper

Licence: mit
A data scraper for retrieving old tweets in Twitter using Python3.

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Twitter Get Old Tweets Scraper

blinkist-m4a-downloader
Grabs all of the audio files from all of the Blinkist books
Stars: ✭ 100 (+270.37%)
Mutual labels:  data-mining, scraper
stweet
Advanced python library to scrap Twitter (tweets, users) from unofficial API
Stars: ✭ 287 (+962.96%)
Mutual labels:  scraper, tweets
Scrape Twitter
🐦 Access Twitter data without an API key. [DEPRECATED]
Stars: ✭ 166 (+514.81%)
Mutual labels:  scraper, tweets
twitter-analytics-wrapper
A simple Python wrapper to download tweets data from the Twitter Analytics platform. Particularly interesting for the impressions metrics that are unavailable on current Twitter API. Also works for the videos data.
Stars: ✭ 44 (+62.96%)
Mutual labels:  data-mining, tweets
Instagram-Comments-Scraper
Instagram comment scraper using python and selenium. Save the comments into excel.
Stars: ✭ 73 (+170.37%)
Mutual labels:  data-mining, scraper
website-to-json
Converts website to json using jQuery selectors
Stars: ✭ 37 (+37.04%)
Mutual labels:  data-mining, scraper
Heroku ebooks
A script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku
Stars: ✭ 251 (+829.63%)
Mutual labels:  scraper, tweets
LeetCode
At present contains scraped data from around 1500 problems present on the site. More to follow....
Stars: ✭ 45 (+66.67%)
Mutual labels:  data-mining, scraper
evine
Interactive CLI Web Crawler
Stars: ✭ 140 (+418.52%)
Mutual labels:  data-mining, scraper
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+17814.81%)
Mutual labels:  scraper, data-mining
Regina
Fetch new releases from http://www.juno.co.uk/.
Stars: ✭ 6 (-77.78%)
Mutual labels:  scraper
Twitter Post Fetcher
Fetch your twitter posts without using the new Twitter 1.1 API. Pure JavaScript! By Jason Mayes
Stars: ✭ 886 (+3181.48%)
Mutual labels:  tweets
Yts Scraper
Download .torrent files from YTS YIFY
Stars: ✭ 19 (-29.63%)
Mutual labels:  scraper
Proxy Scraper
Proxy-Scraper is simple Perl script for scraping proxies from multiple websites.
Stars: ✭ 24 (-11.11%)
Mutual labels:  scraper
Duckduckgo
An unofficial DuckDuckGo search API.
Stars: ✭ 6 (-77.78%)
Mutual labels:  scraper
Spring2017 proffosterprovost
Introduction to Data Science
Stars: ✭ 18 (-33.33%)
Mutual labels:  data-mining
Pyclustering
pyclustring is a Python, C++ data mining library.
Stars: ✭ 806 (+2885.19%)
Mutual labels:  data-mining
Imdbpy
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies
Stars: ✭ 792 (+2833.33%)
Mutual labels:  scraper
Lulu
[Unmaintained] A simple and clean video/music/image downloader 👾
Stars: ✭ 789 (+2822.22%)
Mutual labels:  scraper
Gisaid Scrapper
Scrapping tool for GISAID data regarding SARS-CoV-2
Stars: ✭ 25 (-7.41%)
Mutual labels:  scraper

Old Tweets Scraper Using Python


Twitter's API no longer allows the retrieval of tweets past 7 days old using apps. Some third party apps are available to allow retrieval of tweets past 7 days old but you need to spend money in most cases. This script was written to enable the retrieval of tweets past the limitation of the API. Most of the code were written and modified based on @Jefferson-Henrique's scraper. The code was modified to support Python 3 and to comply to pep coding standards.


Installation

Download the source code using git. Install python dependencies by typing make install in the terminal.


Command Line Usage

The script can be used by typing python main.py and requires an argument passed with it. For more information you may type python main.py -help in the command line.


Parameters

The script can be run with 5 arguments. The query and/or username argument must be used. The other arguments are optional.

Argument Format Usage Example
query python main.py --query "#MarcosNotAHero" --max-tweets 1
username python main.py --username "barackobama" --max-tweets 1
since YYYY-MM-DD python main.py --query "Benham Rise" --since 2016-01-01 --max-tweets 1
since YYYY-MM-DD python main.py --query "Benham Rise" --until 2017-04-01 --max-tweets 1
max-tweets (default: 100) python main.py --query "#MarcosNotAHero" --max-tweets 1

Code Usage

You may also write your own code based on the controllers and models inside the scraper folder.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].