0

Minor updates, version bump

This commit is contained in:
Kaimi
2021-08-31 13:34:36 +03:00
parent d3e609df3e
commit 838c16e12e
3 changed files with 17 additions and 20 deletions

View File

@@ -107,9 +107,9 @@ docker run --init --rm -v ${PWD}:/root/ --name yamusic yandex-music-downloader:1
## Usage ## Usage
```bat ```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 -p[=INT] --playlist[=INT] playlist id to download
-k[=STR] --kind[=STR] playlist kind (eg. ya-playlist, -k[=STR] --kind[=STR] playlist kind (eg. ya-playlist,
music-blog, music-partners, etc.) music-blog, music-partners, etc.)
@@ -131,29 +131,26 @@ ya.pl [-adklpstu] [long options...]
--bitrate INT bitrate (eg. 64, 128, 192, 320) --bitrate INT bitrate (eg. 64, 128, 192, 320)
--pattern STR track naming pattern --pattern STR track naming pattern
Available placeholders: #number, #artist, Available placeholders: #number, #artist,
#title #title
-l --link do not fetch, only print links to the -l --link do not fetch, only print links to the
tracks tracks
-s --silent do not print informational messages -s --silent do not print informational messages
--debug print debug info during work --debug print debug info during work
--help print usage -h --help print usage
--include and --exclude options use weak --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 -p 123 -k ya-playlist
ya.pl -a 123 ya.pl -a 123
ya.pl -a 123 -t 321 ya.pl -a 123 -t 321
ya.pl -u ya.pl -u https://music.yandex.ru/album/215690 --cookie ...
https://music.yandex.ru/album/215690 ya.pl -u https://music.yandex.ru/album/215688/track/1710808 --auth ...
ya.pl -u ya.pl -u https://music.yandex.ru/users/ya.playlist/playlists/1257 --cookie ...
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) © 2013-2021 by Kaimi (https://kaimi.io)
``` ```
## FAQ ## FAQ

View File

@@ -49,8 +49,8 @@ use constant
COOKIE_PREFIX => 'Session_id=', COOKIE_PREFIX => 'Session_id=',
HQ_BITRATE => '320', HQ_BITRATE => '320',
PODCAST_TYPE => 'podcast', PODCAST_TYPE => 'podcast',
VERSION => '1.1', VERSION => '1.2',
COPYRIGHT => '© 2013-2020 by Kaimi (https://kaimi.io)', COPYRIGHT => '© 2013-2021 by Kaimi (https://kaimi.io)',
}; };
use constant use constant
{ {
@@ -215,9 +215,9 @@ my ($opt, $usage) = Getopt::Long::Descriptive::describe_options
[basename(__FILE__) . ' -p 123 -k ya-playlist'], [basename(__FILE__) . ' -p 123 -k ya-playlist'],
[basename(__FILE__) . ' -a 123'], [basename(__FILE__) . ' -a 123'],
[basename(__FILE__) . ' -a 123 -t 321'], [basename(__FILE__) . ' -a 123 -t 321'],
[basename(__FILE__) . ' -u https://music.yandex.ru/album/215690'], [basename(__FILE__) . ' -u https://music.yandex.ru/album/215690 --cookie ...'],
[basename(__FILE__) . ' -u https://music.yandex.ru/album/215688/track/1710808'], [basename(__FILE__) . ' -u https://music.yandex.ru/album/215688/track/1710808 --auth ...'],
[basename(__FILE__) . ' -u https://music.yandex.ru/users/ya.playlist/playlists/1257'], [basename(__FILE__) . ' -u https://music.yandex.ru/users/ya.playlist/playlists/1257 --cookie ...'],
[], [],
[COPYRIGHT] [COPYRIGHT]
); );

BIN
usage.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB