Download media from Mastodon.
Built using Mastodon.py.
- Clone this repo
- Install pipenv if not yet installed
cd mastodon_dl
- Register a Mastodon API client
pipenv run python3
- Call
Mastodon.create_app()
with arguments as described at https://mastodonpy.readthedocs.io/en/latest/#app-registration-and-user-authentication
pipenv run python3 mastodon_dl.py --email YOUREMAIL@EXAMPLE.COM --password YOURPASS --secret-file PATH/TO/CLIENTCRED.SECRET
Run pipenv run python3 mastodon_dl.py -h
for more command line arguments.
Use --api-base-url
to point to your Mastodon instance. Defaults to https://mastodon.social
.