You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-*- mode: compilation; default-directory: "~/spider/spider/spiders/" -*-
Compilation started at Thu Mar 4 14:19:50
python3 typhoon.py
Traceback (most recent call last):
File "typhoon.py", line 114, in <module>
tfcraw.get_tf_detail()
File "typhoon.py", line 62, in get_tf_detail
tf_list = self.get_tf_list()
File "typhoon.py", line 44, in get_tf_list
year_list = self.get_year()
File "typhoon.py", line 34, in get_year
years = r.json()
File "/home/steiner/.local/lib/python3.6/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Compilation exited abnormally with code 1 at Thu Mar 4 14:19:51
我手抄了一下台风历史信息的脚本,运行的时候发现总有一个错误发生
麻烦你帮我看一下哪里出错了
代码在这
The text was updated successfully, but these errors were encountered: