Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[yandexmusic] full tracks / implement authentication #25494

Open
5 tasks done
ildar opened this issue Jun 2, 2020 · 1 comment
Open
5 tasks done

[yandexmusic] full tracks / implement authentication #25494

ildar opened this issue Jun 2, 2020 · 1 comment

Comments

@ildar
Copy link

ildar commented Jun 2, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.05.29
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$  youtube-dl --playlist-items 1 -v https://music.yandex.ru/album/33865/
[debug] System config: []
[debug] User config: ['-i', '--write-info-json', '--download-archive', 'archive.txt', '-o', '%(artist)s - %(release_year)s - %(album)s/%(playlist_index)s - %(title)s.%(ext)s', '-f', 'bestvideo[ext=mp4,height<=720]+bestaudio[ext=m4a]/best[ext=mp4]/best']
[debug] Custom config: []
[debug] Command-line args: ['--playlist-items', '1', '-v', 'https://music.yandex.ru/album/33865/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.05.29
[debug] Python version 3.8.2 (CPython) - Linux-5.5.19-un-def-alt1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.1-alt1
[debug] Proxy map: {}
[yandexmusic:album] 33865: Downloading album JSON
[download] Downloading playlist: Kraftwerk - The Man Machine (1978)
[yandexmusic:album] playlist Kraftwerk - The Man Machine (1978): Collected 6 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[yandexmusic:track] 336579: Downloading track JSON
[yandexmusic:track] 336579: Downloading track location url JSON
[yandexmusic:track] 336579: Downloading track location JSON
[info] Writing video description metadata as JSON to: Kraftwerk - 1978 - The Man Machine/1 - Kraftwerk - The Robots.info.json
[debug] Invoking downloader on 'http://s48man.storage.yandex.net/get-mp3/4c61e976634d0303703761d6be13f6aa/0005a716df58c758/rmusic/U2FsdGVkX1_Xp1ykosAWCH59YitF_GqIaNXWgEje2r9oS4DgRPrNsBUeS_fuLr7rrBt-jWZaEKct0QG4WcA_N4O8BTvAVhc2_X9znc0e3G0/e939b7c2b2b97799c97ebe42193f8559f1fc38b3656b2e4ba762802bb9287ce5?track-id=490916 '
[download] Destination: Kraftwerk - 1978 - The Man Machine/1 - Kraftwerk - The Robots.mp3
[download] 100% of 469.84KiB in 00:00
[download] Finished downloading playlist: Kraftwerk - The Man Machine (1978)

Description

Yandex recently stopped giving full tracks to anonymous users. Only 30 seconds preview can be listened or downloaded.

Please implement authentication to restore full tracks support.

Thanks a lot for this awesome program!

@ildar
Copy link
Author

ildar commented Jun 2, 2020

workaround: using cookies saves the day

@dstftw dstftw changed the title [REGRESSION][yandexmusic] full tracks / implement authentication [yandexmusic] full tracks / implement authentication Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant