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.48k stars 1.6k forks source link

Error: Failed to get results for [song name]: Expecting value: line 1 column 1 (char 0) #1796

Closed jaydenlo08 closed 1 year ago

jaydenlo08 commented 1 year ago

System OS

Linux

Python Version

3.11 (CPython)

Install Source

pip / PyPi

Install version / commit hash

v4.1.4

Expected Behavior vs Actual Behavior

Every time a song is being downloaded, it prints a red error:

Failed to get results for [song name]: Expecting value: line 1 column 1 (char 0)

It then successfully downloads the song, printing a green success message

Steps to reproduce - Ensure to include actual links!

Download any songs: spotdl https://open.spotify.com/track/1MqzIgGsHP4cNjPboevsfq?si=03d85ea6a77f472d

Traceback

$ spotdl https://open.spotify.com/track/1MqzIgGsHP4cNjPboevsfq?si=03d85ea6a77f472d
Processing query:                                                               
https://open.spotify.com/track/1MqzIgGsHP4cNjPboevsfq?si=03d85ea6a77f472d       
Failed to get results for Tourner Dans Le Vide - Indila: Expecting value: line 1
column 1 (char 0)                                                               
Downloaded "Indila - Tourner Dans Le Vide":                                     
https://music.youtube.com/watch?v=ONlMB2oGWwE

Other details

No response

xnetcat commented 1 year ago

Can you upload more logs with --log-level DEBUG?

jaydenlo08 commented 1 year ago

Sure 😃

[11:07:53] DEBUG MainThread - Downloader settings: downloader.py:114 {'audio_providers': ['youtube-music'], 'lyrics_providers': ['genius', 'azlyrics', 'musixmatch'], 'playlist_numbering': False, 'scan_for_songs': False, 'm3u': None, 'output': '{artists} - {title}.{output-ext}', 'overwrite': 'skip', 'search_query': None, 'ffmpeg': 'ffmpeg', 'bitrate': None, 'ffmpeg_args': None, 'format': 'mp3', 'save_file': None, 'filter_results': True, 'threads': 4, 'cookie_file': None, 'restrict': False, 'print_errors': False, 'sponsor_block': False, 'preload': False, 'archive': None, 'load_config': True, 'log_level': 'DEBUG', 'simple_tui': False, 'fetch_albums': False, 'id3_separator': '/', 'ytm_data': False, 'add_unavailable': False, 'geo_bypass': False, 'generate_lrc': False, 'force_update_metadata': False} [11:07:53] DEBUG MainThread - FFmpeg path: ffmpeg downloader.py:132 [11:07:53] DEBUG MainThread - Found 0 known songs downloader.py:157 [11:07:57] DEBUG MainThread - Archive: 0 urls downloader.py:192 [11:07:57] DEBUG MainThread - Downloader initialized downloader.py:194 [11:07:57] INFO MainThread - Processing query: search.py:123 https://open.spotify.com/track/1MqzIgGsHP4cNjPboevsf q?si=19aa3dc296ef49cb [11:07:57] DEBUG MainThread - Found 1 songs in 0 lists search.py:249 [11:07:57] DEBUG MainThread - Downloading 1 songs downloader.py:241 [11:07:57] ERROR asyncio_0 - Failed to get results for Tourner Dans Le base.py:82 Vide - Indila: Expecting value: line 1 column 1 (char 0) [11:07:57] DEBUG asyncio_0 - Genius failed to find lyrics for downloader.py:358 Indila - Tourner Dans Le Vide [11:07:58] DEBUG asyncio_0 - AzLyrics failed to find lyrics for downloader.py:358 Indila - Tourner Dans Le Vide [11:08:01] DEBUG asyncio_0 - MusixMatch failed to find lyrics for downloader.py:358 Indila - Tourner Dans Le Vide [11:08:01] DEBUG asyncio_0 - No lyrics found for Indila - Tourner downloader.py:482 Dans Le Vide, lyrics providers: Genius, AzLyrics, MusixMatch [11:08:01] DEBUG asyncio_0 - [1MqzIgGsHP4cNjPboevsfq] Searching for base.py:163 indila - tourner dans le vide [11:08:01] DEBUG asyncio_0 - [1MqzIgGsHP4cNjPboevsfq] Found 3 results base.py:175 for ISRC FRUM71400047 [11:08:01] DEBUG asyncio_0 - [1MqzIgGsHP4cNjPboevsfq] Filtered to 3 base.py:187 ISRC results [11:08:01] DEBUG asyncio_0 - [1MqzIgGsHP4cNjPboevsfq] Best ISRC result base.py:196 is https://music.youtube.com/watch?v=ONlMB2oGWwE with score 100.0 [11:08:01] DEBUG asyncio_0 - Downloading Indila - Tourner Dans Le downloader.py:554 Vide using https://music.youtube.com/watch?v=ONlMB2oGWwE [11:08:07] INFO asyncio_0 - Downloaded "Indila - Tourner Dans Le downloader.py:716 Vide": https://music.youtube.com/watch?v=ONlMB2oGWwE