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

部分rss乱码 #85

Closed
blue-bird1 opened this issue Jan 3, 2021 · 6 comments
Closed

部分rss乱码 #85

blue-bird1 opened this issue Jan 3, 2021 · 6 comments

Comments

@blue-bird1
Copy link

https://yufree.cn/cn/index.xml
我订阅了这个rss 然后
image

打开原页面是正常的

@guyskk
Copy link
Contributor

guyskk commented Jan 4, 2021

感谢反馈,看上去博主昨天自己修复了,我把数据重刷了一下,现在是正常的了。

另外送你一枚兑换码,输入你的GitHub ID即可兑换。

@guyskk guyskk closed this as completed Jan 4, 2021
@blue-bird1
Copy link
Author

今天白天的时候刷新后是正常的 现在阅读的时候发现意外的又变回乱码了

@blue-bird1
Copy link
Author

image

@guyskk guyskk reopened this Jan 5, 2021
@guyskk
Copy link
Contributor

guyskk commented Jan 5, 2021

@blue-bird1 我也发现了,初步看是 feed response 不完整,导致了解码错误,可能也和 response 太大有关。

这个是 http 响应,最后面明显断了。结果也不稳定,时好时坏,我再深入分析一下。
image

@guyskk
Copy link
Contributor

guyskk commented Jan 5, 2021

Python requests 也有 bug,没有检查 content-length 并丢弃错误数据
psf/requests#4956

@guyskk
Copy link
Contributor

guyskk commented Jan 8, 2021

@guyskk guyskk closed this as completed Jan 8, 2021
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

No branches or pull requests

2 participants