Code Monkey home page Code Monkey logo

Comments (5)

YinHan-Zhang avatar YinHan-Zhang commented on May 21, 2024

Traceback (most recent call last):
File "D:/WeiboSpider_forComments_Reposts_Attitudes/start.py", line 16, in
parsecomments.main()
File "D:\WeiboSpider_forComments_Reposts_Attitudes\parseComments.py", line 52, in main
new_response = requests.get(new_url, headers=self.headers, params=data).json()
File "C:\Users\AppData\Roaming\Python\Python38\site-packages\requests\models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\AppData\Local\Programs\Python\Python38\lib\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)

from weibospider_forcomments_reposts_attitudes.

YinHan-Zhang avatar YinHan-Zhang commented on May 21, 2024

这是cookies给封了么?

from weibospider_forcomments_reposts_attitudes.

qq992875076 avatar qq992875076 commented on May 21, 2024

我的也是这个原因,应该不是cookie被封,我换了一个还是报的这个错

from weibospider_forcomments_reposts_attitudes.

ZhaoGu0907 avatar ZhaoGu0907 commented on May 21, 2024

楼上的解决了么?我的也是这样的问题

from weibospider_forcomments_reposts_attitudes.

honglalala avatar honglalala commented on May 21, 2024

朋友们,解决了吗~我也是这样的问题

from weibospider_forcomments_reposts_attitudes.

Related Issues (3)

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.