mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #78] Is it possible to download a song? #57
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lukas4haus on GitHub (Sep 12, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/78
Hi,
I am migrating from gmusicapi.
I am missing one essential feature that initially made me subscribe to Google Play Music instead of Spotify, which is the ability to download songs/albums using the api.
I have no idea if this was ever intended to be public, but I have been using this api for the last years to in a simple to use streaming client used by my children.
Did I miss this function in the documentation?
If not, is there any chance for it to be added in the near future?
Best regards,
Lukas
@sigma67 commented on GitHub (Sep 12, 2020):
Yes, you can download any video/song using its videoId and youtube-dl.
get_songalso provides the streaming URLs provided by the YouTube API.@lukas4haus commented on GitHub (Sep 13, 2020):
I am sorry to bother you again, but I do not get it.
get_song does only provide me with an url for the thumbnails.
As far as I understand, the signatureCipher of one of the streams has to be somehow converted to retrieve the download url.
Is it therefore necessary that the converting library also has valid credentials for youtube?
youtube-dl has issues accepting my login and also reports that it is unable to extract the video data.
Could you provide a short example of how to download a song with / without youtube-dl?
Best regards,
Lukas