Comments (4)
Hello,
Are you asking about adding a script itself to the system PATH
variable, so you can call it from anywhere or about --path
argument?
from yandex-music-download.
Hi, thanks for the reply. I am not sure what the address is to add in the path variable. Also, the system keeps repeating this instead of downloading the albums:
Yandex Music Downloader v1.2
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.)
-a[=INT] --album[=INT] album to download
-t[=INT] --track[=INT] track to download (album id must be
specified)
-u[=STR] --url[=STR] download by URL
-d[=STR] --dir[=STR] download path (current direcotry will be
used by default)
--proxy STR HTTP-proxy (format: 1.2.3.4:8888)
--exclude STR skip tracks specified in file
--include STR download only tracks specified in file
--delay INT delay between downloads (in seconds)
--mobile INT use mobile API
--auth STR authorization header for mobile version
(OAuth...)
--cookie STR authorization cookie for web version
(Session_id=...)
--bitrate INT bitrate (eg. 64, 128, 192, 320)
--pattern STR track naming pattern
--path STR path pattern
Available placeholders: #number, #artist,
#title, #album, #year
Path pattern will be used in addition to
the download path directory
Example path pattern: #artist/#album-#year
-l --link do not fetch, only print links to the
tracks
-s --silent do not print informational messages
--debug print debug info during work
-h --help print usage
--include and --exclude options use weak
match i.e. ~/$term/
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 --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)
May I know a way to solve it?
from yandex-music-download.
For the --path
variable syntax is following: --path #artist/#album-#year
.
So there're some pre-defined placeholders which can be a part of path in any combination with static strings.
If you specify a --path
parameter as in the example above, then tracks will be saved by the path like this:
Queen/The Platinum Collection-2000/Queen - We Will Rock you.mp3
Also, please provide a complete string, which you're using to start the script.
--auth
or --cookie
parameter values should be sanitized in your answer.
from yandex-music-download.
Hmm, I still don't really understand it, but thanks anyway!
from yandex-music-download.
Related Issues (20)
- Загружается только 30 секунд HOT 3
- 400 URL must be absolute, and question about session_id cooike HOT 1
- скачивает только 618 Кбайт HOT 4
- Very nice work! But it seems I get blocked by yandex after a few Downloads HOT 5
- Problem HOT 3
- Why script downloads only 30 seconds of track? HOT 6
- Use of uninitialized value $storage_path in substitution (s///) at ./ya.pl line 948. HOT 4
- main::get_playlist_tracks_info(758): Request failed HOT 1
- ID3 tags and download by url artist HOT 3
- Can't get track list info HOT 12
- Не работает домен kaimi.io HOT 1
- Пропускать существующие треки HOT 4
- Add attaching the lyrics HOT 1
- Missing perl modules during install HOT 1
- ID3 write_v24 error HOT 2
- Bitrate always on 160kbps HOT 6
- Authorization with login/password HOT 2
- --skip-existing option not always work
- Writing of ID3v2.4 is not fully supported (prohibited now via `write_v24'). HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yandex-music-download.