Files
LineStickerDownloader/README.md
2020-01-06 19:32:27 +00:00

39 lines
1.2 KiB
Markdown

# LineStickerDownloader
Currently, only tested on Python 3.7 on Windows environment.
Downloading according to [this guide](http://blog.ldjb.uk/post/120266420762/full-resolution-line-sticker-images).
Usage
-----
Sticker ID refers to the number in the store page URL.
`https://store.line.me/stickershop/product/<id>/en`
You can search for your sticker [here](https://store.line.me/).
`Linedl.py`
Interactively ask the sticker set ID and weather or not to treat the sticker as Animated.
For `Animated? (y/N): `, only `y` or `Y` input is treated as `True`. All other input, including just pressing empty, will be treated as a `False`
`Linedl.py <id>`
Download non-animated sticker with the provided ID.
`Linedl.py <id> <anyText>`
Download animated sticker with the provided ID.
Operation
----
If `<id>/` or `<id>.zip` already exists, the program will just exit.
Download the sticker to `<id>.zip`.
Extract the zip to `<id>/`.
Delete the zip.
_Note: The part after this is only tested with non-animated sticker pack._
Read the metadata for Sticker name.
Delete the metadata file and the lower-resolution `_key` copy of each sticker.
Unless`<stickerName>/` already exist, rename `<id>/` directort to `<stickerName>/`.