Edit readme, again

This commit is contained in:
2017-11-23 00:24:01 +00:00
parent b06726ab37
commit 50e4e3726c

View File

@@ -1,18 +1,20 @@
# LineStickerDownloader # LineStickerDownloader
Currently, only tested on Python 2.7 on Windows environment. 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). Downloading according to [this guide](http://blog.ldjb.uk/post/120266420762/full-resolution-line-sticker-images).
Usage Usage
----- -----
`Linedl.py` `Linedl.py`
Interactively ask the sticker set ID and weather or not to treat the sticker as Animated. 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` 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>`
`Linedl.py <id>`
Download non-animated sticker with the provided ID. Download non-animated sticker with the provided ID.
`Linedl.py <id> <anyText>`
`Linedl.py <id> <anyText>`
Download animated sticker with the provided ID. Download animated sticker with the provided ID.
@@ -20,11 +22,13 @@ Download animated sticker with the provided ID.
---- ----
If `<id>/` or `<id>.zip` already exists, the program will just exit. 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._ Download the sticker to `<id>.zip`.
Read the metadata for Sticker name. Extract the zip to `<id>/`.
Delete the metadata file and the lower-resolution `_key` copy of each sticker. 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>/`. Unless`<stickerName>/` already exist, rename `<id>/` directort to `<stickerName>/`.