spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.03k stars 1.56k forks source link

Unable to extract uploader id error #1750

Closed LaGrabow closed 1 year ago

LaGrabow commented 1 year ago

System OS

Linux

Python Version

3.10 (CPython)

Install Source

pip / PyPi

Install version / commit hash

v4.0.7

Expected Behavior vs Actual Behavior

expected to download a song from spotify what actually happened is the following error msg that seems to be referring to another download app called yt-dlp: Exception: ERROR: XVqWXkMz9LY: Unable to extract uploader id; please report this issue on
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using yt-dlp -U

Steps to reproduce - Ensure to include actual links!

go to www.spotify.com search for music select URL for music open terminal type spotdl download [URL] at cursor press enter

Traceback

la@localhost:~> spotdl download https://open.spotify.com/album/4vRwOE5KE82xb6n9uQi8ET
Exception: ERROR:  XVqWXkMz9LY: Unable to extract uploader id; please report this issue on  
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm 
you are on the latest version using  yt-dlp -U
Exception: ERROR:  DwszUyPMVLE: Unable to extract uploader id; please report this issue on  
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm 
you are on the latest version using  yt-dlp -U
Exception: ERROR:  kEf5mqk5mWU: Unable to extract uploader id; please report this issue on  
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm 
you are on the latest version using  yt-dlp -U
Exception: ERROR:  IQH0BEZnzXs: Unable to extract uploader id; please report this issue on  
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm 
you are on the latest version using  yt-dlp -U
Exception: ERROR:  bF7UBKKuEyI: Unable to extract uploader id; please report this issue on  
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm 
you are on the latest version using  yt-dlp -U
LookupError: No results found for song: Hummingbird - Ray Wylie Hubbard
Downloaded "Ray Wylie Hubbard - Mississippi John Hurt": https://www.youtube.com/watch?v=hMnGG81r0zo
Exception: ERROR:  7qLKJoH_s_c: Unable to extract uploader id; please report this issue on  
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm 
you are on the latest version using  yt-dlp -U
Downloaded "Ray Wylie Hubbard - Outlaw Blood": https://www.youtube.com/watch?v=kVkpjTlT7mA
Downloaded "Ray Wylie Hubbard - R.O.C.K.": https://www.youtube.com/watch?v=3l3_f9gf6Is
Total                             10/10 complete     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

Other details

how is spotdl [download from spotify.com] related to yt-dlp [download from youtube.com ] referenced in the error?

klauskobald commented 1 year ago

same here - worked last month - now it is broken. maybe spotify changed something?

LaGrabow commented 1 year ago

Well i know yt-dlp had problems and did a patch and update on the 23rd. I just used spotdl a day prior to this bug report. But what the relationship is I am not aware.

LaGrabow commented 1 year ago

BTW, yt-dlp is working OK now.

LaGrabow commented 1 year ago

What error are you getting?

klauskobald commented 1 year ago
Starting spotify_dl v8.3.0                                    spotify_dl.py:68
Saving songs to Naturaleza - Mose Edit directory
[download] Downloading playlist: Mose, Danit - Naturaleza - Mose Edit Lyrics
[youtube:search] query "Mose, Danit - Naturaleza - Mose Edit Lyrics": Downloading web client config
[youtube:search] query "Mose, Danit - Naturaleza - Mose Edit Lyrics" page 1: Downloading API JSON
[youtube:search] playlist Mose, Danit - Naturaleza - Mose Edit Lyrics: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] 6xjAK2fYQFE: Downloading webpage
[youtube] 6xjAK2fYQFE: Downloading android player API JSON
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = Xbhe-NJHzmwoV8YD ; player = https://www.youtube.com/s/player/11e3a4ec/player_ias.vflset/en_US/base.js
6xjAK2fYQFE: Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/extractor/youtube.py", line 2565, in _decrypt_nsig
    self._player_cache[sig_id] = func(s)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/extractor/youtube.py", line 2597, in <lambda>
    return lambda s: jsi.extract_function_from_code(*func_code)([s])
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 510, in resf
    ret, should_abort = self.interpret_statement(stmt, var_stack)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 122, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 159, in interpret_expression
    ret, should_abort = self.interpret_statement(try_expr, local_vars, allow_recursion - 1)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 122, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 159, in interpret_expression
    ret, should_abort = self.interpret_statement(try_expr, local_vars, allow_recursion - 1)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 122, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 233, in interpret_expression
    self.interpret_expression(sub_expr, local_vars, allow_recursion)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 301, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 122, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 301, in interpret_expression
    left_val, should_abort = self.interpret_statement(
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 122, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/opt/homebrew/lib/python3.9/site-packages/yt_dlp/jsinterp.py", line 439, in interpret_expression
    raise ExtractorError('Unsupported JS expression %r' % expr)
yt_dlp.utils.ExtractorError: Unsupported JS expression '0<=c[49]'; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
 (caused by ExtractorError("Unsupported JS expression '0<=c[49]'; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [youtube] 6xjAK2fYQFE: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Failed to download: Mose, Danit - Naturaleza - Mose Edit Lyrics, please ensure YouTubeDL is up-to-date. 
dyld[90799]: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicuio.70.dylib
  Referenced from: <31116583-6CB3-3C7B-AD46-52FF1431267E> /opt/homebrew/Cellar/php@7.4/7.4.30/bin/php
  Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicuio.70.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/icu4c/lib/libicuio.70.dylib' (no such file), '/opt/homebrew/opt/icu4c/lib/libicuio.70.dylib' (no such file), '/usr/local/lib/libicuio.70.dylib' (no such file), '/usr/lib/libicuio.70.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/icu4c/72.1/lib/libicuio.70.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/icu4c/72.1/lib/libicuio.70.dylib' (no such file), '/opt/homebrew/Cellar/icu4c/72.1/lib/libicuio.70.dylib' (no such file), '/usr/local/lib/libicuio.70.dylib' (no such file), '/usr/lib/libicuio.70.dylib' (no such file, not in dyld cache)

But it's worse now, because I did brew upgrade. I also do not understand why there is 2 apps: youtube-dl and yt-dlp

the brew upgrade did not change versions: yt-dlp --version 2022.05.18 youtube-dl --version 2021.12.17

Main entry point is: spotify_dl -m -l "URL" -o ./tmp-dl/

isle9 commented 1 year ago

Youtube-dl might be the old, no longer updated one. But I have no idea why it's there still.

gamer191 commented 1 year ago

it's still somewhat maintained for people who require python 2 support. I have no idea why it's part of the brew. That said, I also have no clue why the brew package is using a 9 month old version of yt-dlp 🙄

klauskobald commented 1 year ago

Just found out that spotdl is different from spotify_dl ! I intalled now with pip and it works! thanks

LaGrabow commented 1 year ago

But does it also just take from youtube or does the music actually come from spotify?

On Fri, Feb 24, 2023 at 11:03 AM Klaus Kobald @.***> wrote:

Just found out that spotdl is different from spotify_dl ! I intalled now with pip and it works! thanks

— Reply to this email directly, view it on GitHub https://github.com/spotDL/spotify-downloader/issues/1750#issuecomment-1443905014, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEYII4XNZD4ZZAED4YNDGDWZDLVJANCNFSM6AAAAAAVFDT6AY . You are receiving this because you authored the thread.Message ID: @.***>

isle9 commented 1 year ago

But does it also just take from youtube or does the music actually come from spotify? On Fri, Feb 24, 2023 at 11:03 AM Klaus Kobald @.> wrote: Just found out that spotdl is different from spotify_dl ! I intalled now with pip and it works! thanks — Reply to this email directly, view it on GitHub <#1750 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEYII4XNZD4ZZAED4YNDGDWZDLVJANCNFSM6AAAAAAVFDT6AY . You are receiving this because you authored the thread.Message ID: @.>

Which one?

LaGrabow commented 1 year ago

spotify_dl

On Sun, Feb 26, 2023, 2:07 a.m. isle9 @.***> wrote:

But does it also just take from youtube or does the music actually come from spotify? … <#m-8146934312687301628> On Fri, Feb 24, 2023 at 11:03 AM Klaus Kobald @.> wrote: Just found out that spotdl is different from spotify_dl ! I intalled now with pip and it works! thanks — Reply to this email directly, view it on GitHub <#1750 (comment) https://github.com/spotDL/spotify-downloader/issues/1750#issuecomment-1443905014>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEYII4XNZD4ZZAED4YNDGDWZDLVJANCNFSM6AAAAAAVFDT6AY https://github.com/notifications/unsubscribe-auth/ANEYII4XNZD4ZZAED4YNDGDWZDLVJANCNFSM6AAAAAAVFDT6AY . You are receiving this because you authored the thread.Message ID: @.>

Which one?

— Reply to this email directly, view it on GitHub https://github.com/spotDL/spotify-downloader/issues/1750#issuecomment-1445284264, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEYII2S6R4L675RFWT6ODLWZL6J5ANCNFSM6AAAAAAVFDT6AY . You are receiving this because you authored the thread.Message ID: @.***>

isle9 commented 1 year ago

Music comes from either youtube-music or youtube iirc.