Replies: 2 comments 4 replies
-
|
Hi @sss20081! I'm Dosu and I’m helping the RSSHub team. 这个错误是因为没有配置 bilibili cookie,RSSHub 尝试使用 Puppeteer 作为备用方案来获取 cookie,但 Vercel 环境没有 Chrome。 解决方案:配置 bilibili cookie 环境变量 bilibili 动态路由实际上不需要 Puppeteer,只需要配置 cookie 就可以完全绕过 Chrome:
配置 cookie 后,路由会直接使用你的 cookie,不再需要 Puppeteer。 更多配置说明可参考官方文档。 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
vercel部署时修改 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
访问路由为
/bilibili/user/dynamic/:uid/:routeParams?使用vercel部署,未配置bilibili的cookie
但是使用docker部署,拉取diygod/rsshub:chromium-bundled镜像,未配置cookie,却可以正常访问
错误信息为:
Error Message: Error: Could not find Chrome (ver. 136.0.7103.49). This can occur if either 1. you did not perform an installation before running the script (e.g.npx puppeteer browsers install chrome) or 2. your cache path is incorrectly configured (which is: /home/sbx_user1051/.cache/puppeteer). For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.官方实例也同样出现此错误
Beta Was this translation helpful? Give feedback.
All reactions