TwitterUserMetaScraper
- Install Beautiful Soup:
pip install beautifulsoup4
- Add user ids to
input/ids.txt
, one per line
- Run scrape.py (or use the
TwitterMetaScraper
class as you wish!)
- A file containing a list of user attributes represented in JSON
- See the output directory for more details
Example entry for a user:
{
"id": "783214",
"full_name": "Twitter",
"screen_name": "twitter",
"description": "Your official source for news, updates and tips from Twitter, Inc.",
"friend_count": 102,
"follower_count": 37002665,
"verified": true,
"friend_sample": ["kellyshalk", "MagicRecs", "TwitterData", "TwitterFashion", "TwitterMovies"],
"follower_sample": ["preciousmeh", "zai00", "azzaul", "PanCarlos", "tafr"],
"http_status_code": 200
}