mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-12-18 08:10:17 +00:00
647 B
647 B
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