Social Media Mining
A personal shortlist of well-working Python-based scrapers in 2020.
instagram-scraper is currently the best Python-based web-scraper around there. Reliably scrapes pictures, videos and its metadata. A simple example for scraping all posts from an Instagram-location (its so called “location-IDs”). Add “—media-types none” to only retrieve metadata. Unfortunately doesn’t work any faster.
instagram-scraper --include-location --comments --media-metadata --location 252823277
Flickr
flickr-scrape works with an official flickr API key. Must be executed from directory with scraper.py. Optionally you can work with bounding boxes.
python scraper.py --search "Bahnhof Zoo Berlin"
twitter-scraper is backed-up by a pretty active community and works as straightforward as the previous scrapers.
twitterscraper "from:TrumpBabyUK" -l 1000 -bd 2017-01-01 -ed 2017-06-01 -o tweets.json