Garbage twitter account archiver for Tweets and Spaces
1.2K
A poor but working implementation to create an updating archive of a twitter account using snscrape for tweets and twspace-dl for any running spaces. Tweets are saved in a json file, media is saved in a directory similar to the url path of the media on twitter's media servers, both pictures and video. Tweets and their media are updated as they come through without complete re-download based on published date, and this works still if a tweet is pinned. Each monitored user will be saved to a separate subfolder.
How to run:
docker run -d --name='TwitterArchiver' -e 'interval'='120' -e 'usernames'='gawrgura hakosbaelz' -v '$HOME/Twitter':'/app/output':'rw' 'canofsocks/twitter_archiver:latest'
Where interval is the time to sleep between checking for new tweets/spaces (default 60 seconds),
usernames is a list of twitter usernames to monitor, with space separation
and $HOME/Twitter is where any files will be saved.
Known issues:
There are many issue with this container and how it works. Improvements may or may not be implemented in the future.
Some main issues include:
Content type
Image
Digest
sha256:7033097a5…
Size
262.3 MB
Last updated
about 1 year ago
docker pull canofsocks/twitter_archiver