Open write3371 opened 3 months ago
/zhihu/zhuanlan/:id
: @DIYgodTo maintainers: if you are not willing to be disturbed, list your username in
scripts/workflow/test-issue/call-maintainer.js
. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE
for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE
关键词,或者留下评论。我们会重新审核。
/zhihu/zhuanlan/:id
: @DIYgodTo maintainers: if you are not willing to be disturbed, list your username in
scripts/workflow/test-issue/call-maintainer.js
. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE
for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE
关键词,或者留下评论。我们会重新审核。
/zhihu/zhuanlan/:id
: @DIYgodTo maintainers: if you are not willing to be disturbed, list your username in
scripts/workflow/test-issue/call-maintainer.js
. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE
for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE
关键词,或者留下评论。我们会重新审核。
在本地可以正常生产随机的值,但是请求知乎,还是返回的乱码。
curl 'https://zhuanlan.zhihu.com/p/597586623' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
-H 'accept-language: zh-CN,zh;q=0.9' \
-H 'cache-control: no-cache' \
-H 'cookie: __zse_ck=001_F3X=MvcD8wL3cBVPN0d8zj7GVUIqgsyEzahavGOSNkTdDIlitFZqG6ziwz/Pc1GJF6jO17VVASbHqcBsFcZtNtJYBbCPbYG7G4Fb/uiFCg4MI68jP88gxkTBLBaqPMNK' \
-H 'pragma: no-cache' \
-H 'priority: u=0, i' \
-H 'referer: https://zhuanlan.zhihu.com/p/597586623' \
-H 'sec-ch-ua: "Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: document' \
-H 'sec-fetch-mode: navigate' \
-H 'sec-fetch-site: same-origin' \
-H 'upgrade-insecure-requests: 1' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36'````
<!doctype html>
太神秘了…… @felixjichao User Agent可能是cookie计算的一部分,也许应该和代码里一致。
User Agent和js代码里一致,看起来还是乱码了。。
知乎关怀版貌似还是正常的,是否有大佬愿意试试?
似乎不止是专栏,answers,posts都有乱码问题。
update: xhu的link有乱码,原本的link没有乱码。
似乎是cookie后有乱码。
否有可能检测乱码(低频汉字出现次数过高),自动fallback到正常版本?
Update: 动态无乱码 / 回答有乱码,非常诡异。
路由地址
完整路由地址
相关文档
https://docs.rsshub.app/routes/social-media#%E4%B8%93%E6%A0%8F
预期是什么?
中文
实际发生了什么?
中文乱码
部署
RSSHub 演示 (https://rsshub.app)
部署相关信息
No response
额外信息
see #15913 #15944
这不是重复的 issue