Coder Social home page Coder Social logo

gaoakajie / weibospider_forcomments_reposts_attitudes Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 10.0 157 KB

本项目是一个微博爬虫项目,旨在通过微博的mid获取到其对应的所有点赞、转发、评论与二级评论的相关数据。

Python 100.00%

weibospider_forcomments_reposts_attitudes's People

Contributors

gaoakajie avatar

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

Watchers

 avatar

weibospider_forcomments_reposts_attitudes's Issues

Comment文件无法获取

  1. attitudes.csv文件已获取
  2. 其他的两个文件无法获取,一直打印这个错误 Expecting value: line 1 column 1 (char 0)
  3. 放了一晚上,也没运行结束,一直停留在 Expecting value: line 1 column 1 (char 0)

出bug了

第1页评论打印完成
Traceback (most recent call last):
File "C:\Users\10415\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)

能否指导一下,每次评论只能获取固定的几百个


第1页评论打印完成
Traceback (most recent call last):
File "/data/lu/yyl/WeiboSpider_forComments_Reposts_Attitudes-main/start.py", line 17, in
parsecomments.main()
File "/data/lu/yyl/WeiboSpider_forComments_Reposts_Attitudes-main/parseComments.py", line 69, in main
max_id = new_response['data']['max_id']
KeyError: 'data' 每次都是这个问题,能否指导一下

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.