Skip to content

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

Notifications You must be signed in to change notification settings

ReAGEnT-HTW-Berlin/Twint-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages