Initial version

This commit is contained in:
2017-11-23 00:21:55 +00:00
parent 7d6923bb19
commit d844bdf5a2
2 changed files with 103 additions and 0 deletions

View File

@@ -1,2 +1,30 @@
# LineStickerDownloader
Currently, only tested on Python 2.7 on Windows environment.
Downloading according to [this guide](http://blog.ldjb.uk/post/120266420762/full-resolution-line-sticker-images).
Usage
-----
`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.
Rename `<id>/` directort to `<stickerName>/`.