Code Monkey home page Code Monkey logo

zhihu_crawler's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zhihu_crawler's Issues

Json报错

D:\Files>python paqu.py
Traceback (most recent call last):
File "paqu.py", line 4, in
session = zh_crawler.get_login_session()
File "D:\Files\zhihu_crawler\zh_crawler.py", line 21, in get_login_session
login_result = session.post('http://www.zhihu.com/login/email', data=config, headers=defalut_headers).json()
File "C:\Users\lwz\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\lwz\AppData\Local\Programs\Python\Python36\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\Users\lwz\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\lwz\AppData\Local\Programs\Python\Python36\lib\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)

json文件我也就把<>內填上了username和password,不知道为什么会报错啊

error 安装了还是报错

running build_ext
building 'lxml.etree' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).


mand "E:\Python34\python.exe -u -c "import setuptools, tokenize;file='C:
ers\huang\AppData\Local\Temp\pip-build-kl7tehu6\lxml\setup.py';exec(co
le(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), __
e__, 'exec'))" install --record C:\Users\huang\AppData\Local\Temp\pip-nfdydw9
ecord\install-record.txt --single-version-externally-managed --compile" faile
ith error code 1 in C:\Users\huang\AppData\Local\Temp\pip-build-kl7tehu6\lxml

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.