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

百度贴吧订阅出现问题 #4401

Closed
wctliu opened this issue Apr 5, 2020 · 9 comments
Closed

百度贴吧订阅出现问题 #4401

wctliu opened this issue Apr 5, 2020 · 9 comments

Comments

@wctliu
Copy link

wctliu commented Apr 5, 2020

百度贴吧订阅出现问题。
错误提示为:
无法下载信息源的 URL。

测试的贴吧有两个,
https://tieba.baidu.com/f?kw=%E5%8A%A8%E7%89%A9%E4%B9%8B%E6%A3%AE&ie=utf-8
https://tieba.baidu.com/f?kw=%E6%A4%8D%E7%89%A9%E5%A4%A7%E6%88%98%E5%83%B5%E5%B0%B83&ie=utf-8
均出现相同的错误提示

rsshub_1 | info: /tieba/forum/æ¤ç©å¤§æåµå°¸3, user IP: ::ffff:172.23.0.1
rsshub_1 | error: Error in /tieba/forum/æ¤ç©å¤§æåµå°¸3: TypeError: Cannot read property 'replace' of null
rsshub_1 | at module.exports (/app/lib/routes/tieba/forum.js:53:9)
rsshub_1 | at process._tickCallback (internal/process/next_tick.js:68:7)

rsshub_1 | error: Error in /tieba/forum/å¨ç©ä¹æ£®: TypeError: Cannot read property 'replace' of null
rsshub_1 | at module.exports (/app/lib/routes/tieba/forum.js:53:9)
rsshub_1 | at process._tickCallback (internal/process/next_tick.js:68:7)

@hoilc
Copy link
Contributor

hoilc commented Apr 8, 2020

image

并没有问题,请确认你的订阅链接是否正确

@wctliu
Copy link
Author

wctliu commented Apr 8, 2020

image

并没有问题,请确认你的订阅链接是否正确

多次测试,虽然也如上图显示 。但是添加订阅的时候,确实会出现问题。使用 Tiny Tiny RSS订阅该地址的时候,提示:无法下载信息源的 URL。
目前测试了多个贴吧。部分能够成功订阅,部份会出错

@hoilc
Copy link
Contributor

hoilc commented Apr 11, 2020

确认ttrss可以正常订阅

image

@wctliu
Copy link
Author

wctliu commented Apr 12, 2020

@hoilc
确认我的ttrss是正常的。并且可用。
当我订阅pv2吧的时候,显示是成功的。
KA IDFNB52E~ZADS29VKIF0
但是订阅动物之森吧。就会出现错误提示
CD4LJ~4 WAOU8E6VG2FA7SN
此时rsshub服务端的输出日志为:
NX4H$7XHP)5HN1XRLP73LDL
麻烦您帮我看看,是哪里出问题了呢?
不胜感激。

@hoilc
Copy link
Contributor

hoilc commented Apr 12, 2020

ttrss订阅链接需要URL encode下,你可以从地址栏复制出来,也可以手动encode

https://rsshub.app/tieba/forum/%E5%8A%A8%E7%89%A9%E4%B9%8B%E6%A3%AE

image

@wctliu
Copy link
Author

wctliu commented Apr 12, 2020

@hoilc 太感谢你了。已经成功订阅。果然。原来是汉字编码的问题,看来这个应该属于rsshub插件没能转码中文的问题。毕竟,一键点击订阅方便 好用太多太多了。希望rsshub的chrome插件能早日更新解决这个问题。

@wctliu
Copy link
Author

wctliu commented Apr 12, 2020

@DIYgod 希望能更新一下chrome上的rsshub插件,解决中文URL encode的问题 。谢谢。

@hoilc
Copy link
Contributor

hoilc commented Apr 12, 2020

@DIYgod 希望能更新一下chrome上的rsshub插件,解决中文URL encode的问题 。谢谢。

新版本连续被Chrome Store拒了好几次,也许后续没有更新了

你可以临时用下本地版本,推荐自己build DIYgod/RSSHub-Radar#199 (comment)

@wctliu
Copy link
Author

wctliu commented Apr 12, 2020

@hoilc 万分感谢,使用你发的本地版本。已经完全解决问题。

@DIYgod DIYgod closed this as completed Apr 14, 2020
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

3 participants