-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cookies Not Working for High-Quality Audio Downloads in Spotdl; PO Tokens Required in YTDLP #2279
Comments
Not working for me too Bitrate stays on 128kb or lower |
Unfortunately running into this issue as well, and the annoying part is there is no indication that it is failing or ability to stop it from downloading a lesser-quality file. Would be nice if when this is resolved to also add a config option to "fail" if premium quality isn't available |
same here. premium cookies, 128 kbps downloads. |
this also, it only shows 128 kbps |
+1 |
does enybody figuired out how get working? |
@vemid If you're using the CLI specifically, it requires a code change (to add
See this comment (I had these reversed in my head due to making the change so long ago): #2279 (comment) |
@Kyrluckechuck could you please write the command example that you are using for this? |
@temporaryna Apologies! In my haste to respond and the fact I made this change so long ago, I forgot that my PR hadn't included the CLI support quite yet since I hadn't needed it (my main usage of this is via the library, rather than the CLI standalone), and it had implemented the library support directly. If anyone would like to contribute the remaining bit to my PR (assuming it won't be merged any time soon since it's been radio silence), you are more than welcome, otherwise I will try to get around to it in the near future when I've got some free time. |
System OS
Windows
Python Version
3.13 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.2.11
Expected Behavior vs Actual Behavior
Since yesterday, when I use cookies to download music in high quality, the music still downloads in the same standard quality. I investigated and tried using a command in ytdlp to download audio with cookies, but it also didn't work. Upon further investigation, I found that ytdlp now requires PO tokens to download high-quality audio from YouTube using my premium account cookies. I’m not sure if the issue is specific to my setup, but when I use PO tokens together with cookies in ytdlp, I can download high-quality music without any issues. However, I haven’t found any information on how to use PO tokens with spotdl.
Steps to reproduce - Ensure to include actual links!
https://github.com/yt-dlp/yt-dlp/wiki/Extractors#po-token-guide
This command worked well for me on ytdlp --extractor-args "youtube:player_client=web_music,default;po_token=web_music+TOKENGOESHERE" the only hard part is to get po token.
Traceback
Other details
No response
The text was updated successfully, but these errors were encountered: