mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-24 04:21:08 +00:00
.. | ||
README.md | ||
requirements.txt | ||
x_scraper.py |
X Scrapper
Use to scrape the tweets from given username (including the metadata of the tweet - location of user, views, likes etc.) using tweepy
.
Use case
- To analyze the (sentiment trend of the given user)[https://github.com/iamshreeram/twitter-senti-analyzer] over the period of time (on given topic or anything)
- Further analysis of user behaviour using geo-location, time of tweets,
Requirements
Python 3.xx tweepy
pip install tweepy
Usage
python main.py <twitter_username>
Note :
- This requires you to have the consumer key, consumer secret, access key and access secret from your x.com account