Giter VIP home page Giter VIP logo

Comments (3)

zzz0906 avatar zzz0906 commented on September 6, 2024

还有可以解释下find all answer的url是怎么生成的么 有点无法理解
for i in xrange((answers_num - 1) / 20 + 1):
for j in xrange(min(answers_num, 20)):

from zhihu-python.

zzz0906 avatar zzz0906 commented on September 6, 2024

File "C:\Users\zzz87\Desktop\sysubreastcancer\GIT\py2.7\pyscrap\zhihu-python-master\zhihu-python-master\zhihu.py", line 481, in get_all_answers
answer_list = r.json()["msg"]
File "E:\py2.7\lib\site-packages\requests\models.py", line 866, in json
return complexjson.loads(self.text, **kwargs)
File "E:\py2.7\lib\site-packages\simplejson_init_.py", line 516, in loads
return _default_decoder.decode(s)
File "E:\py2.7\lib\site-packages\simplejson\decoder.py", line 374, in decode
obj, end = self.raw_decode(s)
File "E:\py2.7\lib\site-packages\simplejson\decoder.py", line 404, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
这是个啥错误啊

from zhihu-python.

cuijier avatar cuijier commented on September 6, 2024

这个项目是没有维护了嘛?

from zhihu-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.