Commit Graph
8545 Commits
Author SHA1 Message Date
karasu a1d266888c fix(route/ff14): 修复部分「公告」条目缺失的问题 (#21261)
* fix(route/ff14): 追加「公告」类型编码

* style(ff14): rename type_number to typeNumber for camelCase consistency
2026-03-02 13:21:57 +08:00
github-actions[bot] c205eeb107 style: auto format 2026-03-01 19:10:30 +00:00
AndvariandCopilot 2f9d18ccea fix(route/reuters): Fix empty authors & prevent unintended fallback (#21256)
* fix(route/reuters): Fix empty authors & prevent unintended fallback

* Update lib/routes/reuters/common.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix error handling for FetchError in common.tsx

* Update common.tsx

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-02 03:09:53 +08:00
chouryandchoury 1520f4f30c fix(route/zhihu): use v4 API for daily route (#21255)
The homepage of daily.zhihu.com was redesigned and no longer contains
.box elements with story links. Additionally, the v7 /stories/latest
endpoint now requires authentication (returns 401).

Fix by switching to the publicly accessible v4 API:
- GET /api/4/stories/latest to list today's stories
- GET /api/4/story/:id for full story content (still public)

Also set antiCrawler: false since the v4 API is open.

Co-authored-by: choury <choury@users.noreply.github.com>
2026-03-02 01:32:46 +08:00
CaoMeiYouRen233 ea2fefd5e6 feat: 添加 Iwara 排行功能,支持视频和图片的排序与筛选 (#21251)
* feat: 添加 Iwara 排行功能,支持视频和图片的排序与筛选

* fix: 更新维护者信息

* feat: 使用 Puppeteer 优化 Iwara 排行数据获取

* fix: 修复链接生成逻辑以正确处理 slug

* refactor: 提取公共常量和函数到 utils.ts 文件以简化代码结构

* fix: 修复 Iwara URL 以确保正确访问网站
2026-03-01 18:08:40 +08:00
Bush2021 144d60b80f fix(route/423down): exclude ad entries (#21254)
Some list entries are ad posts that redirect to
external domains with problematic TLS certificate
chains, causing detail fetch to fail and break the
route.
2026-03-01 06:07:14 +08:00
Thomas 7465febbdf feat(route/youtube): Allow configuring custom embed url (#21248) 2026-03-01 00:28:45 +08:00
heisenshark e935df5bc6 feat(route): add 4chan (#21249)
* feat: added 4chan route

* feat: renamed board to catalog

* refactor(route/4chan): added util.ts for handling catalog processing

* feat(route/4chan): added break after the reply count

* refactor(route/4chan):functions to arrow functions

* feat(route/4chan): utc pubdate, route params to parameters

* fix(route/4chan): removed explicit category set, changed radar rules

* fix(route/4chan): changed pubdate handling to timezone>parseDate

* fix(route/4chan): added spoilers back, changed links to absolute URLs, changed html stripping in title, removed force timezone setting, removed referrerpolicy from img

* fix(route/4chan): fix https typo

* fix(route/4chan): radar route namespace prefix

* Apply suggestions from code review
2026-03-01 00:20:52 +08:00
Tony 1acb805799 style: migrate eslint to oxlint (#21224)
* chore: add oxlint support

* style: apply autofix

* style: apply autofix for toSorted

* style: use alternative api for nsfw-flag jsPlugins

* fix: git diff

* fix: codeql

* test: console.log

* style: update lint workflow to use Checkstyle SARIF converter

* style: remove debug log from extractDateFromURL function

* chore: use oxlint-json-to-sarif

* test: console.log

* test: remove console.log

* test: update cookie data expectation in getCookies test

https://github.com/mccutchen/go-httpbin/pull/235 breaks this

* style: type-aware linting

* style: enable type-aware linting for oxlint
2026-02-28 21:23:11 +08:00
shcw0405and蔡旭 5ddd2080b0 fix(cursor/changelog): fix changelog route (#21237)
* fix cursor/changelog

* fix(cursor/changelog): deduplicate feed entries

---------

Co-authored-by: 蔡旭 <caixu@caixudeMacBook-Air.local>
2026-02-27 03:18:59 +08:00
github-actions[bot] e21e74addc style: auto format 2026-02-25 16:54:10 +00:00
9k001 9cb29513b4 fix(route/zhihu): enable processImage for people/answers to fix lazy-loaded images (#18671) (#21153) 2026-02-26 00:52:06 +08:00
Mervyn ZhanandTony 79c8adcca7 fix(route/bbc): deal with the mixed bbc news data (#21228)
* fix(route/bbc): deal with the mixed bbc news data

fix #21227

* Update lib/routes/bbc/utils.tsx

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------
2026-02-25 21:09:48 +08:00
Summer⛱ b11b9e727a feat(route): 豆瓣即将播出的剧集 (#21214)
* feat(route): 豆瓣即将播出的剧集

* fix: 增加反爬/限频错误处理

* fix(route): address review feedback for douban tv coming route

- switch route config from query params to path params (:sortBy/:count)
- replace globalThis.crypto with node:crypto webcrypto
- use config.cache.routeExpire instead of hardcoded cache ttl
- normalize naming to camelCase (sortBy/requestCount)
- replace newline rendering with HTML <br/> in description
- simplify renderDescription without array join

* Apply suggestion from TonyRL

---------
2026-02-25 20:48:40 +08:00
occam-7 7d2bd7ced1 feat(route/bestblogs): Add route for weekly selection (#21226)
* feat(route/bestblogs): Add route for weekly selection

* fix(route/thepaper): Linebreak style
2026-02-25 16:07:01 +08:00
loopy03 8be22cb8f6 feat: add route for Le Phocéen (#21205)
* feat: add route for Le Phocéen

* fix: use embedded json

* Fix: lint errors (imports order and parseDate)
2026-02-23 20:04:09 +08:00
github-actions[bot] 83391205cb style: auto format 2026-02-23 01:28:59 +00:00
YuruShiMaShiMaRin ff4ae56a20 feat(comic-fuz.com): add new routes (#21193)
* comicfuz pr

* fix lint

* fix lint error

* ofetch support

* 1

* fix some question

* fix some question

* using TonyRL‘s suggetion version 1

* ver 2

* fix some question

* ver 3

* 非必要的修改 最后的版本

* fix: missing rename

* fix: remove duplicated name

---------
2026-02-23 09:27:19 +08:00
Tony 7785a7bde4 style: update eslint rules (#21207)
* style: update eslint rules

* style: fix prefer-object-spread

* style: fix no-lonely-if

* fix: typescript-eslint/no-unnecessary-template-expression

* fix: sort import

* style: apply file filtering to config presets

* revert: changes on pkg

* style: revert

* style: use defineConfig

* style: reorder js plugin in eslint config

* chore: remove obsolete override

* style: fix CodeQL initialization to ensure language matrix is used
2026-02-23 08:17:37 +08:00
Tsung-Han Yu f7bea67c63 fix(route): remove elements for screen readers (#21206) 2026-02-23 04:20:25 +08:00
Tony 3349076afe fix(route/anthropic): update selectors (#21200) 2026-02-22 00:46:35 +08:00
TROJAN 3ef013659e fix(route/showstart): enable allowEmpty to allow subscribing to artists who currently have no performances (#21198) 2026-02-21 09:47:35 +08:00
flameleafandgithub-actions[bot] 12e5f3ef71 feat(route/chub): support markdown and move thumbnail image to description (#21184)
* Update api url

* remove trailing '

* feat(route/chub): support markdown and move thumbnail image to description

* style: auto format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-21 05:34:53 +08:00
shcw0405and蔡旭 0b056eba75 fix(route/manus): fix blog route (#21195)
* fix(route/manus): fix blog route

* style: refactor with flatMap and map per review

---------

Co-authored-by: 蔡旭 <caixu@caixudeMacBook-Air.local>
2026-02-21 02:30:18 +08:00
Tony ba0f1ad292 style(eslint): fix no-unassigned-vars no-useless-assignment preserve-caught-error (#21175)
* fix: fix no-unassigned-vars

* fix: fix preserve-caught-error

* fix: fix no-useless-assignment

* fix: update variable types for better type safety

* fix: replace nullish coalescing with logical OR for limit assignment

* fix: add DataItem type import for better type safety
2026-02-18 22:25:14 +08:00
Tony a56e6299d6 feat(route/ainvest): rework article and news (#21154) 2026-02-15 21:47:54 +08:00
Tony da15d11d1d chore: replace postlight/parser with jocmp/mercury-parser (#21152) 2026-02-15 01:27:25 +08:00
github-actions[bot] 97e8291140 style: auto format 2026-02-14 16:25:56 +00:00
occam-7 1db6d77c17 feat(route/thepaper): Add route for government accounts (#21151)
* feat(route/thepaper): Add route for government accounts

* fix(route/thepaper): object-shorthand

* fix(route/thepaper): object-shorthand
2026-02-15 00:23:30 +08:00
CutCut 4c4339c625 feat(route/twitter): support official api with user credentials (#21139)
* feat(route/twitter): support official api with user credentials (act as a logged user) support

* fix: update namespace docs

* fix(route/twitter): use optional chaining for access tokens
2026-02-14 13:32:44 +08:00
github-actions[bot] da080891d9 style: auto format 2026-02-13 17:25:16 +00:00
TonyandCopilot f1164b516b feat(route/bbc): topic (#21140)
* feat(route/bbc): topic

* feat(route/bbc): clean item links by removing query parameters

* feat(route/bbc): add sport

* feat(route/bbc): refactor content fetching logic to use fetchBbcContent utility

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat(route/bbc): improve content description fallback logic

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-14 01:23:35 +08:00
Qiang Huang 91ff6e28df fix(route/smartlink): Remove HTML from the title for cnbc (#21130) 2026-02-13 16:00:58 +08:00
Yuzhong Zhangandbetterandbetterii e43f570306 feat(route/sina): add finance rollnews (#21124)
Co-authored-by: betterandbetterii <betterandbetterii@github.com>
2026-02-12 19:56:49 +08:00
Chris Sauermann 6e16f90bfb feat(route): add elamigos games route (#21111)
* feat(route): add elamigos games route

* fix(route): update elamigos security vulnerabilities + codefactor complex method error

* fix(route): update elamigos reduce extractGames complexity

* fix(route): update elamigos  required changes to adhere to coding standard

* fix(route): update elamigos remove parseLimit, let user decide limit, default at 40
2026-02-11 22:41:08 +08:00
MMA fbe69a773a fix(route/dailypush): author and date (#21110) 2026-02-11 20:36:07 +08:00
Qiang Huang 4b9ef7b723 fix(route/smartlink): API returns application/json (#21112) 2026-02-11 17:52:25 +08:00
Tony 2f6303fcaf feat(route/twitter): official api support (#21109)
* feat(route/twitter): official api support

* fix: update namespace docs
2026-02-10 22:32:13 +08:00
PieterandPieter Hollander 48d6b1a42a fix(route/linkedin): construct link for reposts from activity URN (#21105)
Co-authored-by: Pieter Hollander <git@pieterhollander.nl>
2026-02-10 03:47:22 +08:00
Tony 8df1da9029 fix(route/coolapk): update response handling (#21089) 2026-02-09 00:26:11 +08:00
alterkeyandalterk c8be7b6061 feat(route): add snnu routes (#21088)
* feat(route): add snnu routes

* fix: use the default UA

* Revert "fix: use the default UA"

This reverts commit b8a41b98681cac2d0cb83f666f2a7a8cb9f152e2.

* fix: use the default UA

---------

Co-authored-by: alterk <alterkey@qq.com>
2026-02-08 21:30:03 +08:00
86a0015096 feat(route): add TCTMD conference news (#21072)
* feat(route): add TCTMD conference news

Add RSS route for TCTMD (tctmd.com) Conference News section,
covering interventional cardiology conference coverage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(route): address review feedback for TCTMD conference news

- Use www.tctmd.com instead of tctmd.com in url and radar source
- Fetch from search page (SEE ALL) to get 20 articles instead of 6
- Remove unused selector fallbacks (.field--name-body, .field--name-field-body, .field--name-field-subhead)
- Remove try-catch wrapper, let errors propagate properly
- Delete redundant radar.ts (radar rules already in route definition)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: ChuYinan2023 <ChuYinan2023@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 22:46:23 +08:00
Ethan Shen f4130d4c1a fix(utils): refactor parseRelativeDate to support dynamic reference (#21054)
* fix(utils): refactor parseRelativeDate to support dynamic reference and semantic formats

* test: add issue test case

---------
2026-02-06 21:44:49 +08:00
Tony ebd22831bf fix(route/zaobao): zaobao sg (#21080) 2026-02-06 19:56:52 +08:00
github-actions[bot] 33effffa1a style: auto format 2026-02-06 07:59:48 +00:00
Skylwn 8388a4db51 feat(route): add huitun route (#21056)
* add huitun xiaohongshu route

* refactor: add cache for getNoteLink

* fix: sort imports
2026-02-06 15:58:04 +08:00
chris zhengandTony f30f27b9a6 feat(route): add route for ccmn.cn (#21070)
* feat: add route for maven central

* fix: change sort api to Array#toSorted

* Update lib/routes/maven/central.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: update url for maven namespace

* fix: use category to tag items

- remove custom query param
- add categories for route

* fix: ensure pubDate contained in data item

* fix: extract date regex into a constant for better readability

* feat(route): add route for ccmn.cn

* Update lib/routes/ccmn/price-adjustment.tsx

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: use default generated ua

---------
2026-02-06 01:37:00 +08:00
Enoch Ma 6bd478f489 feat(route/nautil): improve reading experience (#21065) 2026-02-05 16:42:26 +08:00
Enoch Ma 5634303363 feat(route/bbc): improve bbc (cn) (#21066) 2026-02-05 16:25:53 +08:00
Enoch Ma 982193cde2 fix(route/aeon): audio type is inaccessible (#21067) 2026-02-05 14:10:30 +08:00