Open kpbhaker opened 3 weeks ago
Same problem with piped:
spotdl download "https://open.spotify.com/playlist/0f6LQiUOikTjACYjYrTGoN?si=96c854276fda41be" --audio piped --log-level DEBUG
[12:11:04] ERROR asyncio_1 - Traceback (most recent call last): progress_handler.py:358
File "requests/models.py", line 974, in json
File "json/__init__.py", line 346, in loads
File "json/decoder.py", line 337, in decode
File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "spotdl/download/downloader.py", line 662, in search_and_download
File "spotdl/download/downloader.py", line 386, in search
File "spotdl/providers/audio/base.py", line 174, in search
File "spotdl/providers/audio/piped.py", line 121, in get_results
File "requests/models.py", line 978, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
╭───────────────────── Traceback (most recent call last) ─────────────────────╮
│ in json:974 │
│ │
│ in loads:346 │
│ │
│ in decode:337 │
│ │
│ in raw_decode:355 │
╰─────────────────────────────────────────────────────────────────────────────╯
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
╭───────────────────── Traceback (most recent call last) ─────────────────────╮
│ in search_and_download:662 │
│ │
│ in search:386 │
│ │
│ in search:174 │
│ │
│ in get_results:121 │
│ │
│ in json:978 │
╰─────────────────────────────────────────────────────────────────────────────╯
System OS
Windows
Python Version
3.12.6 (CPython)
Install Source
pip / PyPi
Install version / commit hash
4.2.8
Expected Behavior vs Actual Behavior
I was using the
--audio
parameter for youtube fallback. I used this parametrepython3 -m spotdl download ******** --audio soundcloud bandcamp slider-kz piped youtube-music --overwrite force
to download musics and then this happened -Failed to get results from BandCamp
I think there is problem in bandcamp api to download musics. Thank you for listening me. Have a good day devs'....
Steps to reproduce - Ensure to include actual links!
In windows 11 --
python3 -m spotdl download https://open.spotify.com/playlist/5DutDksCDPMirP40odZ0gf?si=ExGfrcOAQO6p52dk5Kv_gw --audio --audio soundcloud bandcamp slider-kz piped youtube-music --overwrite force
Traceback
Other details
I am using python3.12.6 and spotdl 4.2.8..