streamrip icon indicating copy to clipboard operation
streamrip copied to clipboard

JSONDecodeError: Expecting value: line 1 column 1

Open anshxlm opened this issue 5 years ago • 3 comments

Bug Report

Current Behavior

return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Command used: rip search -s soundcloud 'Revolution by the score'

rip search -s soundcloud 'Revolution by the score'

Expected behavior Bring up the download menu

anshxlm avatar Jul 23 '21 21:07 anshxlm

Fixed in 0.7.1

nathom avatar Jul 24 '21 19:07 nathom

Fixed in 0.7.1

Thanks!

anshxlm avatar Jul 24 '21 19:07 anshxlm

Try also rip url https://play.qobuz.com/album/5051083020763. The formatting of the error looks different, but the message is the same (I'm assuming due to being on a much newer version).

ryansalerno avatar Sep 15 '21 18:09 ryansalerno