Skip to content

feat(route): add JBpress news route #19232

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Hrushikesh9807
Copy link

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

RSSHub\lib\routes\jbpress\issue.ts

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • [ x] Parsed / 可以解析
    • [x ] Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions bot added the route label May 29, 2025
let match;
while ((match = articleRegex.exec(html)) !== null && items.length < 15) {
const link = rootUrl + match[1];
const title = match[2].replaceAll(/<[^>]+>/g, '').trim();

Check failure

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<script
, which may cause an HTML element injection vulnerability.
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/RSSHub\lib\routes\jbpress\issue.ts - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>NotFoundError:
Route: /RSSHub/lib/routes/jbpress/issue.ts
Full Route: /RSSHub/lib/routes/jbpress/issue.ts
Node Version: v22.16.0
Git Hash: 1f69700c

Copy link
Contributor

Successfully generated as following:

http://localhost:1200/RSSHub\lib\routes\jbpress\issue.ts - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>NotFoundError:
Route: /RSSHub/lib/routes/jbpress/issue.ts
Full Route: /RSSHub/lib/routes/jbpress/issue.ts
Node Version: v22.16.0
Git Hash: 17d7ca1c

Copy link
Collaborator

@TonyRL TonyRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The site provides its RSS feed at https://jbpress.ismedia.jp/list/feed/rss which contains more info than this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants