Comments (3)
+1
from geektime_dl.
+1
cat geektime.log
log_time=2019-05-27 15:07:10,938 levelname=ERROR process=1 exception=Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/geektime_dl/cli/command.py", line 63, in main
o.work(args)
File "/usr/local/lib/python3.7/site-packages/geektime_dl/cli/command.py", line 26, in work
return self.run(args)
File "/usr/local/lib/python3.7/site-packages/geektime_dl/cli/ebook.py", line 109, in run
data = dc.get_course_content(course_id, force=force)
File "/usr/local/lib/python3.7/site-packages/geektime_dl/data_client/__init__.py", line 59, in get_course_content
post_detail = self.get_post_content(post['id'], force=force)
File "/usr/local/lib/python3.7/site-packages/geektime_dl/data_client/__init__.py", line 36, in get_post_content
data = self._gk.get_post_content(post_id)
File "/usr/local/lib/python3.7/site-packages/geektime_dl/utils/__init__.py", line 36, in wrapper
result = func(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/geektime_dl/data_client/gk_apis.py", line 126, in get_post_content
raise Exception('course query fail:' + resp.json()['error']['msg'])
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/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)
location=/usr/local/lib/python3.7/site-packages/geektime_dl/cli/command.py:74
from geektime_dl.
???
from geektime_dl.
Related Issues (20)
- ERROR: 'gbk' codec can't encode character '\xa5' in position 2142: illegal multibyte sequence HOT 1
- 建议增加cookie登陆机制 HOT 2
- 考虑增加对其它平台的支持吗?比如拉勾教育或者网易吗?
- Window环境下运行后报错“OSError: [Errno 22] Invalid argument:
- 可否下载支持pdf,想打印出来 HOT 1
- docker 构建失败
- 报错:ERROR: create_chapter() takes 2 positional arguments but 3 were given HOT 2
- ERROR: 'utf-8' codec can't decode byte 0xb0 in position 0: invalid start byte
- mp3下载之后目录为空
- 怎么下载视频
- 教你怎么导出geektime全部专栏文章 HOT 1
- 您好,在爬取文章时字符编码存在问题,报错信息如下: HOT 3
- win10下载478号课程报 'gbk' codec can't encode character HOT 1
- 能增加公开课下载支持吗
- 非法图形验证码 HOT 1
- python3.8/site-packages/kindle_maker/ebooklib.py:334: UserWarning: ``make_ebook`` api is deprecated, and use ``Ebook`` class instead!
- Display Actual Author Name instead of "jachinlin.github.io"
- 制作 mobi 成功,但是在 kindle 中打开失败,恳请解决方法 HOT 1
- 是否支持批量下载
- windows 10 运行报 GBK 字符不能处理
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geektime_dl.