fffonion / Xunlei-Fastdick

迅雷快鸟 Xunlei Network Accelerator For Router
https://yooooo.us/2015/xunlei-fastdick-router
819 stars 176 forks source link

[bug] 提速失效,可能是迅雷的接口换了,ValueError: No JSON object could be decoded #177

Closed GrayXu closed 3 years ago

GrayXu commented 3 years ago
$ python swjsq.py
Traceback (most recent call last):
  File "swjsq.py", line 877, in <module>
    session = json.loads(f.readline())
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
GrayXu commented 3 years ago

but it works today... weird..