feat(route): add 4pda.to forum thread route - #23076
Open
untitaker wants to merge 2 commits into
Open
Conversation
Add a new route to subscribe to posts in 4PDA forum threads. - Route: /4pda/forum/thread/:topicId - Fetches the last page of a thread for the most recent posts - Handles windows-1251 encoding via iconv-lite - Includes radar rules for automatic route detection - Parses post author, date (Moscow timezone UTC+3), and content
Contributor
|
Successfully generated as following: http://localhost:1200/4pda/forum/thread/669936 - Failed ❌ |
Contributor
Auto ReviewPrevious findings (hardcoded User-Agent, custom [AGENTS 15 - Avoid loading HTML twice]
[AGENTS 16 / 43 - Playwright resource handling]
|
untitaker
marked this pull request as draft
August 22, 2026 16:21
- Use playwright (patchright) instead of ofetch to handle Cloudflare Turnstile challenge on 4pda.to - Remove iconv-lite (playwright handles encoding natively) - Remove custom limit handling (middleware handles ?limit= param) - Remove hardcoded User-Agent (playwright uses configured UA) - Fix author extraction to exclude icon text - Mark route as requirePuppeteer: true
untitaker
marked this pull request as ready for review
August 22, 2026 16:33
Contributor
|
Successfully generated as following: http://localhost:1200/4pda/forum/thread/669936 - Failed ❌ |
Contributor
Author
|
I think turnstile is left as "exercise for the reader." we cannot solve it in rsshub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Involved Issue / 该 PR 相关 Issue
New route, no existing issue.
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
antiCrawler: true.Puppeteer— Not requiredNote / 说明
Adds a route to subscribe to posts in 4PDA forum threads, a popular Russian tech/mobile forum running Invision Power Board.
Features:
?limit=Nquery parameterExample:
/4pda/forum/thread/669936subscribes to the TP-LINK M7350 thread.