laggykiller / sticker-convert

Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, Discord, iMessage. Written in Python.
GNU General Public License v2.0
283 stars 16 forks source link

Colab Issue: b'main.py: error: unrecognized arguments: --export-wastickers\n' #63

Closed carmenchui closed 1 year ago

carmenchui commented 1 year ago

Getting this error in the Colab trying to convert the following LINE sticker pack (https://line.me/S/sticker/24285337/):

b'main.py: error: unrecognized arguments: --export-wastickers\n'

Should the command be adjsuted to use --export-whatsapp ?

Full error stack from Colab:


/content
['/content/sticker-convert', '--no-confirm', '--input-dir', '/content/drive/MyDrive/stickers_input', '--download-line', '24285337', '--output-dir', '/content/drive/MyDrive/stickers_output', '--export-wastickers', '--preset', 'line', '--fake-vid', '--title', 'Grapefruit See Mid-Autumn Festival', '--author', 'Grapefruit See Mid-Autumn Festival']
b'usage: main.py [-h] [--version] [--no-confirm] [--input-dir INPUT_DIR]\n'
b'               [--download-signal DOWNLOAD_SIGNAL | --download-telegram DOWNLOAD_TELEGRAM | --download-line DOWNLOAD_LINE | --download-kakao DOWNLOAD_KAKAO]\n'
b'               [--output-dir OUTPUT_DIR] [--author AUTHOR] [--title TITLE]\n'
b'               [--export-signal | --export-telegram | --export-whatsapp | --export-imessage]\n'
b'               [--no-compress]\n'
b'               [--preset {signal,telegram,whatsapp,line,kakao,imessage_small,imessage_medium,imessage_large,custom}]\n'
b'               [--steps STEPS] [--processes PROCESSES] [--fps-min FPS_MIN]\n'
b'               [--fps-max FPS_MAX] [--res-min RES_MIN] [--res-max RES_MAX]\n'
b'               [--res-w-min RES_W_MIN] [--res-w-max RES_W_MAX]\n'
b'               [--res-h-min RES_H_MIN] [--res-h-max RES_H_MAX]\n'
b'               [--quality-min QUALITY_MIN] [--quality-max QUALITY_MAX]\n'
b'               [--color-min COLOR_MIN] [--color-max COLOR_MAX]\n'
b'               [--duration-min DURATION_MIN] [--duration-max DURATION_MAX]\n'
b'               [--vid-size-max VID_SIZE_MAX] [--img-size-max IMG_SIZE_MAX]\n'
b'               [--vid-format VID_FORMAT] [--img-format IMG_FORMAT]\n'
b'               [--fake-vid] [--cache-dir CACHE_DIR]\n'
b'               [--default-emoji DEFAULT_EMOJI] [--signal-uuid SIGNAL_UUID]\n'
b'               [--signal-password SIGNAL_PASSWORD] [--signal-get-auth]\n'
b'               [--telegram-token TELEGRAM_TOKEN]\n'
b'               [--telegram-userid TELEGRAM_USERID]\n'
b'               [--kakao-auth-token KAKAO_AUTH_TOKEN] [--kakao-get-auth]\n'
b'               [--kakao-username KAKAO_USERNAME]\n'
b'               [--kakao-password KAKAO_PASSWORD]\n'
b'               [--kakao-country-code KAKAO_COUNTRY_CODE]\n'
b'               [--kakao-phone-number KAKAO_PHONE_NUMBER] [--line-get-auth]\n'
b'               [--line-cookies LINE_COOKIES] [--save-cred SAVE_CRED]\n'
b'main.py: error: unrecognized arguments: --export-wastickers\n'
laggykiller commented 1 year ago

Thank you for your report. Yes you are correct that the command should be adjusted to use --export-whatsapp. Should be fixed now.