Minor updates, version bump
This commit is contained in:
17
README.md
17
README.md
@@ -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.)
|
||||||
@@ -137,7 +137,7 @@ ya.pl [-adklpstu] [long options...]
|
|||||||
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/
|
||||||
@@ -146,14 +146,11 @@ ya.pl [-adklpstu] [long options...]
|
|||||||
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
|
||||||
|
|||||||
10
src/ya.pl
10
src/ya.pl
@@ -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]
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user