diff options
author | Kaimi <kaimi-@users.noreply.github.com> | 2021-08-31 13:34:36 +0300 |
---|---|---|
committer | Kaimi <kaimi-@users.noreply.github.com> | 2021-08-31 13:34:36 +0300 |
commit | 838c16e12e828ab3c49105f6d467c05e6b2cb649 (patch) | |
tree | 1583601d75393ecbf8f84aa9f90a8b3214c24e6c | |
parent | d3e609df3ec0773c088fa3eb38d23b7073f049fd (diff) |
Minor updates, version bumpv1.2
-rw-r--r-- | README.md | 29 | ||||
-rwxr-xr-x | src/ya.pl | 10 | ||||
-rw-r--r-- | usage.gif | bin | 2300553 -> 1299721 bytes |
3 files changed, 18 insertions, 21 deletions
@@ -107,9 +107,9 @@ docker run --init --rm -v ${PWD}:/root/ --name yamusic yandex-music-downloader:1 ## Usage ```bat -Yandex Music Downloader v1.1 +Yandex Music Downloader v1.2 -ya.pl [-adklpstu] [long options...] +ya.pl [-adhklpstu] [long options...] -p[=INT] --playlist[=INT] playlist id to download -k[=STR] --kind[=STR] playlist kind (eg. ya-playlist, music-blog, music-partners, etc.) @@ -131,29 +131,26 @@ ya.pl [-adklpstu] [long options...] --bitrate INT bitrate (eg. 64, 128, 192, 320) --pattern STR track naming pattern Available placeholders: #number, #artist, - #title + #title -l --link do not fetch, only print links to the tracks -s --silent do not print informational messages --debug print debug info during work - --help print usage + -h --help print usage --include and --exclude options use weak - match i.e. ~/$term/ + match i.e. ~/$term/ - Example: + Example: ya.pl -p 123 -k ya-playlist - ya.pl -a 123 - ya.pl -a 123 -t 321 - ya.pl -u - https://music.yandex.ru/album/215690 - ya.pl -u - https://music.yandex.ru/album/215688/track/1710808 - ya.pl -u - https://music.yandex.ru/users/ya.playlist/playlists/1257 - - © 2013-2020 by Kaimi (https://kaimi.io) + ya.pl -a 123 + ya.pl -a 123 -t 321 + ya.pl -u https://music.yandex.ru/album/215690 --cookie ... + ya.pl -u https://music.yandex.ru/album/215688/track/1710808 --auth ... + ya.pl -u https://music.yandex.ru/users/ya.playlist/playlists/1257 --cookie ... + + © 2013-2021 by Kaimi (https://kaimi.io) ``` ## FAQ @@ -49,8 +49,8 @@ use constant COOKIE_PREFIX => 'Session_id=', HQ_BITRATE => '320', PODCAST_TYPE => 'podcast', - VERSION => '1.1', - COPYRIGHT => '© 2013-2020 by Kaimi (https://kaimi.io)', + VERSION => '1.2', + COPYRIGHT => '© 2013-2021 by Kaimi (https://kaimi.io)', }; use constant { @@ -215,9 +215,9 @@ my ($opt, $usage) = Getopt::Long::Descriptive::describe_options [basename(__FILE__) . ' -p 123 -k ya-playlist'], [basename(__FILE__) . ' -a 123'], [basename(__FILE__) . ' -a 123 -t 321'], - [basename(__FILE__) . ' -u https://music.yandex.ru/album/215690'], - [basename(__FILE__) . ' -u https://music.yandex.ru/album/215688/track/1710808'], - [basename(__FILE__) . ' -u https://music.yandex.ru/users/ya.playlist/playlists/1257'], + [basename(__FILE__) . ' -u https://music.yandex.ru/album/215690 --cookie ...'], + [basename(__FILE__) . ' -u https://music.yandex.ru/album/215688/track/1710808 --auth ...'], + [basename(__FILE__) . ' -u https://music.yandex.ru/users/ya.playlist/playlists/1257 --cookie ...'], [], [COPYRIGHT] ); Binary files differ |