RSSHub
RSSHub copied to clipboard
feat(route): yamibo
Involved Issue / 该 PR 相关 Issue
Close #
Example for the Proposed Route(s) / 路由地址示例
/yamibo/bbs/forum/5/404
/yamibo/bbs/thread/541914
New RSS Route Checklist / 新 RSS 路由检查表
- [x] New Route / 新的路由
- [x] Follows Script Standard / 跟随 路由规范
- [x] Anti-bot or rate limit / 反爬/频率限制
- [x] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
- [x] Date and time / 日期和时间
- [x] Parsed / 可以解析
- [x] Correct time zone / 时区正确
- [ ] New package added / 添加了新的包
- [ ]
Puppeteer
Note / 说明
Successfully generated as following:
http://localhost:1200/yamibo/bbs/forum/5/404 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)
Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">FetchError: [GET] "https://bbs.yamibo.com/forum.php?mod=forumdisplay&fid=5&orderby=dateline&filter=typeid&typeid=404": 403 Forbidden</code>
Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/forum/:fid/:type?</code>
Full Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/forum/5/404</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">a348539d</code>
http://localhost:1200/yamibo/bbs/thread/541914 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)
Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">FetchError: [GET] "https://bbs.yamibo.com/forum.php?mod=viewthread&tid=541914&ordertype=1": 403 Forbidden</code>
Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/thread/:tid</code>
Full Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/thread/541914</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">a348539d</code>
Successfully generated as following:
http://localhost:1200/yamibo/bbs/forum/5/404 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)
Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">FetchError: [GET] "https://bbs.yamibo.com/forum.php?mod=forumdisplay&fid=5&orderby=dateline&filter=typeid&typeid=404": 403 Forbidden</code>
Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/forum/:fid/:type?</code>
Full Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/forum/5/404</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">2071954a</code>
http://localhost:1200/yamibo/bbs/thread/541914 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)
Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">FetchError: [GET] "https://bbs.yamibo.com/forum.php?mod=viewthread&tid=541914&ordertype=1": 403 Forbidden</code>
Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/thread/:tid</code>
Full Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/thread/541914</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">2071954a</code>
It seems that requests from regions other than Mainland China, Hong Kong, and Taiwan will trigger Cloudflare challenge 😭
Successfully generated as following:
http://localhost:1200/yamibo/bbs/forum/5/404 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)
Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">FetchError: [GET] "https://bbs.yamibo.com/forum.php?mod=forumdisplay&fid=5&orderby=dateline&filter=typeid&typeid=404": 403 Forbidden</code>
Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/forum/:fid/:type?</code>
Full Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/forum/5/404</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">4b0a602f</code>
http://localhost:1200/yamibo/bbs/thread/541914 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)
Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">FetchError: [GET] "https://bbs.yamibo.com/forum.php?mod=viewthread&tid=541914&ordertype=1": 403 Forbidden</code>
Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/thread/:tid</code>
Full Route: <code class="ml-2 bg-zinc-100">/yamibo/bbs/thread/541914</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">4b0a602f</code>
I tried to use Puppeteer with stealth to deal with the Cloudflare challenge, but Puppeteer keeps staying on the Cloudflare page, I have no idea how to resolve it.
I encountered the same issue in https://github.com/berstend/puppeteer-extra/issues/832 when using Puppeteer. It seems that currently there is no way to use Puppeteer to bypass Cloudflare detection.