Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 748 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 748 Bytes

Twint-API

Inofficial API for Twitter Frontend for scraping tweets of german federal delegates

Requirements

Python 3
Twint (pip3 install twint)

Usage of scraper

Execute python3 twint_scraper.py in the cloned git repository.

Modify the date range in the searchUserTweets() function in twint_scaper.py or leave it commented out to get all tweets. It takes approximately 10 minutes for 7 days of tweets or 8 hours to get all existing tweets.

To add or remove twitter accounts edit the abgeordnete_usernamen_twitter.json file.

NOTE: It can only scrape the last 3200 tweets of an account. This is not a limitation of twint but of twitter. Checkout the twint project page to learn more: https://github.com/twintproject/twint