GithubHelp home page GithubHelp logo

Comments (4)

ziyou8 avatar ziyou8 commented on July 29, 2024

json = get_page(url)后面加一句print(json),发现里面并没有since_id的值,可能要换一个方法了。

from weibolist.

ziyou8 avatar ziyou8 commented on July 29, 2024

在headers中加入cookie信息,能获取到since_id,但是weibo的内容就不能爬下来,我在想是不是需要两个爬虫,一个加入cookie信息专门获取since_id,另一个不含cookie信息,通过获取的since_id来爬取weibo内容

from weibolist.

gantrol avatar gantrol commented on July 29, 2024

我看了看,现在关注页面的ajax的关键换成了max_id,而人物页面的换成了containerid=<containerid>_-_WEIBO_SECOND_PROFILE_WEIBO&page_type=03&page=2

总之,爬人物页会好爬很多。

from weibolist.

NH333 avatar NH333 commented on July 29, 2024

同样的问题,楼主解决了吗?

from weibolist.

Related Issues (7)

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.