Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kaimi-io/yandex-music-download.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaimi <kaimi-@users.noreply.github.com>2021-08-31 13:34:36 +0300
committerKaimi <kaimi-@users.noreply.github.com>2021-08-31 13:34:36 +0300
commit838c16e12e828ab3c49105f6d467c05e6b2cb649 (patch)
tree1583601d75393ecbf8f84aa9f90a8b3214c24e6c
parentd3e609df3ec0773c088fa3eb38d23b7073f049fd (diff)
Minor updates, version bumpv1.2
-rw-r--r--README.md29
-rwxr-xr-xsrc/ya.pl10
-rw-r--r--usage.gifbin2300553 -> 1299721 bytes
3 files changed, 18 insertions, 21 deletions
diff --git a/README.md b/README.md
index 8578083..79dd2df 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/src/ya.pl b/src/ya.pl
index d5636fc..c0d44a8 100755
--- a/src/ya.pl
+++ b/src/ya.pl
@@ -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]
);
diff --git a/usage.gif b/usage.gif
index 727a4ce..4016f49 100644
--- a/usage.gif
+++ b/usage.gif
Binary files differ