/mastojeppetto

Mastodon (and pleroma) emoji downloader

Primary LanguagePythonMIT LicenseMIT

mastojeppetto

Mastodon (and pleroma) python3 emoji downloader

Badges

Say Thanks! Build Status

installation

from src:

git clone https://github.com/autoscatto/mastojeppetto
cd mastojeppetto
python setup.py install

from pip:

pip3 install mastojeppetto

usage

mastojeppetto [-h] [-p PATH] [-c CONCURRENCY] [--endpoint ENDPOINT]
              [-t] [-d] [-v] url

positional arguments:
  url                   Mastodon (or Pleroma) base url

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  download destination [default: /tmp/${domainname}]
  -c CONCURRENCY, --concurrency CONCURRENCY
                        how many parallel download processes will start
                        [default: 4]
  --endpoint ENDPOINT   custom api emoji endpoint (usually works without
                        changes) [default: "/api/v1/custom_emojis"]
  -t, --text            generate also custom_emoji.txt [default: True]
  -d, --debug           be verbose [default: False]
  -v, --version         show program's version number and exit