Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WARN] Unknown fragment type. type=40 proto=type: 40 #192

Closed
adk23333 opened this issue Apr 15, 2024 · 9 comments
Closed

[WARN] Unknown fragment type. type=40 proto=type: 40 #192

adk23333 opened this issue Apr 15, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@adk23333
Copy link

简要描述这个bug
无特别影响的WARN
贴吧客户端版本12.54.1.1

[2024-04-15 23:30:30 +0800] [22] [WARN] Unknown fragment type. type=40 proto=type: 40
text: "啊这"
link: "https://tieba.baidu.com/mo/q/hybrid-usergrow-search/searchGlobal?pageType=result&keyword=啊这&customfullscreen=1&nonavigationbar=1"
src: "https://tieba-ares.cdn.bcebos.com/mis/2023-11/1700620182255/378a4ca359a9.webp"

如何复现
在获取有热梗词的贴子上就会出现

你希望程序作出何种行为

...

截图(可选)

  1. 楼层
    0abe57693ceaae107c1efb3599f9f2a

  2. 点击后的显示
    f5bddd66ba705f366d16fded7e646d7

@lumina37
Copy link
Owner

下个版本修复,准备解析成纯文本。什么官方梗百科

@adk23333
Copy link
Author

什么官方梗百科

鉴定为贴吧烂活

@n0099
Copy link

n0099 commented Apr 16, 2024

内置了 https://github.com/itorr/nbnhhsh

@Voevodsky
Copy link

我就说咋回事,爬帖子内容的时候终端无限输出这条,加了logging.disable(logging.WARNING)去掉了

@lumina37
Copy link
Owner

修了 ee729d3 不过除了楼层回复,还会有别的地方刷出梗百科吗

@lumina37 lumina37 added the bug Something isn't working label Apr 17, 2024
@adk23333
Copy link
Author

adk23333 commented Apr 17, 2024

不过除了楼层回复,还会有别的地方刷出梗百科吗

Screenshot_2024-04-17-10-11-30-039_com.baidu.tieba.png

主楼一楼也会

楼中楼还没见过

@lumina37
Copy link
Owner

标题里的貌似没影响

@adk23333
Copy link
Author

标题里的貌似没影响

的确没有,警告的都是楼层

@n0099
Copy link

n0099 commented Apr 17, 2024

1L也是回复贴,远古时代可以只删1L而不删主题帖
就像回复贴也有标题且可以改 https://z.n0099.net/#narrow/near/98236
主题帖标题只是string而非pbcontent https://github.com/n0099/tbclient.protobuf/blame/e7825f56bf0ce23d528490f8e0a450c8c884929f/proto/ThreadInfo.proto#L72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants