Skip to content

Comments

Fix the tool to run correctly when there are 2 pinned weibo.#525

Merged
dataabc merged 2 commits intodataabc:masterfrom
songzy12:master
May 19, 2023
Merged

Fix the tool to run correctly when there are 2 pinned weibo.#525
dataabc merged 2 commits intodataabc:masterfrom
songzy12:master

Conversation

@songzy12
Copy link
Collaborator

其实是改了一下对置顶微博的判断条件:如果当前page = 1,允许查看最多2个日期靠前的微博。

由于当前 weibo.cn 对于置顶微博的元素设置不正确,导致我们现存的判断函数出错。

说起来这其实是 weibo.cn 的 bug lol

@songzy12 songzy12 self-assigned this May 19, 2023
@songzy12 songzy12 requested a review from dataabc May 19, 2023 14:55
@dataabc dataabc merged commit 40c505a into dataabc:master May 19, 2023
@dataabc
Copy link
Owner

dataabc commented May 19, 2023

已merge。好久不见:smile:。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

有两条置顶微博的用户微博无法正常爬取 爬取有多个置顶微博的用户时无法爬取内容

2 participants