What is Tweeeds?π±
Tweeds is an advanced Twitter scraping tool written in Python that allows for scraping Tweets from Twitter. The name might be funny but "Don't Judge a book by it's cover"π
achyuthjoism / tweeds
An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a Tweets and more while evading most API limitations.
Due to some changes in Twitter API interface we can't use this tool anymore!!
Tweeds - Twitter Scraping Tool
Scrape tweets from any Twitter user profile. Twitter API alternative to scrape Twitter hashtags, threads, images, videos, statistics and Twitter history. Export data in JSON and CSV format. This project enables you to extract large amounts of data from Twitter. It lets you do much more than the Twitter API, because it doesn't have rate limits and you don't even need to have a Twitter account, a registered app, or Twitter API key.
Do not forget to star this project.π π
π‘ Features
- No API Key required
- No Limit
- No Authentication required
- Get tweets from specific user
- JSON and CSV export for further Data Analysis
- And the best part it is OpenSource π
βοΈ Requirements
- Python >= 3.9
β Installation
pip install tweeds
π Usage
achyuthjoism-MBP ~ % tweeds
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β¦Why should I use Tweeds?π
- You don't need a Twitter API for scraping tweets
- You can scrape all the tweets(Twitter API limits 3000 tweets onlyπ’!)
- No Twitter credentials required
- No limitation
- It's OpenSource π
Prerequisites β
- Python >= 3.9
Installation β
pip install tweeds
And you are done! Now you can use this tool in your terminal or in your python project. In this post we will discuss both the use case.π
Command Line Interface π»
- Scrape all the tweets from Elon Musk(including replies).
tweeds -u elonmusk
- Scrape all Tweets from the Elon's timeline containing pineapple.
tweeds -u elonmusk -s pineapple
- Scrape all Tweets from user's tweeting about Coffee near Berlin.
tweeds -s Coffee --near Berlin
- Want to add a limit just add
--limit
argument.
tweeds -s Coffee --near Berlin --limit 1000
- Scrape all Tweets from Elon's timeline since 2022-12-10.
tweeds -u elonmusk --since 2022-12-10
- Scrape Tweets from a radius of 1km around a place in Paris.
tweeds --geocode "48.880048,2.385939,1km" --limit 10000
- Want to export the data into CSV or JSON for further analysis just add
--csv
or--json
argument with the filename.
tweeds --geocode "48.880048,2.385939,1km" --csv paris.csv --limit 10000
Refer Docs for more example.
Modules β‘
Now Tweed can be used as a module and allows custom formatting. Example:
import tweeds
query = tweeds.Query()
query.search = "Yash Boss"
query.limit = 10
query.verified = True
tweeds.search(query)
Remember you have 20 options to fiddle withπ€―.
Conclusion π
This project was made only for educational purpose only. Thank you for following this tutorial to the end. Hopefully this article helps you, see you in the next article.
achyuthjoism / tweeds
An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a Tweets and more while evading most API limitations.
Due to some changes in Twitter API interface we can't use this tool anymore!!
Tweeds - Twitter Scraping Tool
Scrape tweets from any Twitter user profile. Twitter API alternative to scrape Twitter hashtags, threads, images, videos, statistics and Twitter history. Export data in JSON and CSV format. This project enables you to extract large amounts of data from Twitter. It lets you do much more than the Twitter API, because it doesn't have rate limits and you don't even need to have a Twitter account, a registered app, or Twitter API key.
Do not forget to star this project.π π
π‘ Features
- No API Key required
- No Limit
- No Authentication required
- Get tweets from specific user
- JSON and CSV export for further Data Analysis
- And the best part it is OpenSource π
βοΈ Requirements
- Python >= 3.9
β Installation
pip install tweeds
π Usage
achyuthjoism-MBP ~ % tweeds
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β¦
Top comments (3)
just asking, can we get a tweet by id ? i have bunch of dataset that only have the id of the tweet (50K Dataset). it will took a long time to collecting all of them. can you tell me how we can manage it ? so i could collect by id
It's amazingly great but needs to be faster if possible !
Do you have an idea how I can get in contact with you ? Do you use discord buddy ?
Wow some useful tool