ozmartian/tvlinker

Downloading via aria2 raises an error

Opened this issue · 0 comments

  • Real Debrid API configured correctly (tested with built-in downloader)
  • RPC Host: http://ipaddress/jsonrpc
  • Port and secret configured correctly

Downloading any link outputs the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tvlinker-3.6.5-py3.5.egg/tvlinker/threads.py", line 213, in run
    self.add_uri()
  File "/usr/local/lib/python3.5/dist-packages/tvlinker-3.6.5-py3.5.egg/tvlinker/threads.py", line 201, in add_uri
    jsonres = res.json()
  File "/usr/local/lib/python3.5/dist-packages/requests/models.py", line 866, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Aborted (core dumped)

Tested with:
Ubuntu Xenial x64
Windows 10 Home x64