Commit Graph
8520 Commits
Author SHA1 Message Date
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
Tony 5c416b8475 fix(route/2048): update target URL to ensure proper redirection (#21064) 2026-02-04 18:25:10 +08:00
Tony d648da5549 fix(route/javtrailers): replace ofetch with puppeteer for API requests (#21055) 2026-02-04 05:27:22 +08:00
wsmbsbbz dc68ecb875 feat(route): add support for f95zone.to (#21042)
* feat(route): add f95zone routes

* fix(route): fix f95zone threads route for folo parse

* fix(route): parse f95zone thread guid from [YYYY-MM-DD] in title

* fix(route): use update date in thread title as pubDate

* fix(route/f95zone): revert image URL processing

* fix(route/f95zone): reenable image URL processing for telegram-bot

* feat(route/f95zone): support post and thread route

* feat(route/f95zone): optimize title

* feat(route/f95zone): optimize image display

* feat(route/f95zone): optimize image display

* feat(route/f95zone): reoptimize img-elements processing

* feat(route/f95zone): reset to the original route pattern

* feat(route/f95zone): optimize routes

* feat(route/f95zone): optimize content processing

* feat(route/f95zone): reduce code

* fix(route/f95zone): use parseDate for proper date handling

* fix(route/f95zone): remove broken radar

* fix(route/f95zone): remove invalid radar config and improve docs

- Remove radar config from post route (postId is in URL hash, cannot be extracted)
- Add empty radar array to prevent Folo parsing error
- Add detailed URL format documentation for both routes
- Explain how to convert browser URL to subscription URL

* fix(route/f95zone): fix invalid example URL

* fix(route/f95zone): use internally generated UA

* fix(route/f95zone): only fetch the first and the last page

* fix(route/f95zone): remove unnecessary sorting logic
2026-02-04 02:43:36 +08:00
Chih-Hsuan Yen 5ae169a201 feat(route/cna): support headlines (#21053)
* feat(route/cna): declare headlines as supported

https://www.cna.com.tw/list/headlines.aspx works the same as other
categories (aall, aipl, ...) - the same HTML structure and API

* fix(route/cna): ignore youtube links during full-text extraction

Sometimes a youtube link instead of a news page is used directly as a
news item (ex: 晚間影音新聞 during 6~7pm UTC+8 on weekdays). That
may result in HTTP 429. Full-text extraction returns nothing, anyway.

* fix(route/cna): note about where the API is from
2026-02-04 02:28:25 +08:00
Tony 55ca8bbb2b feat(router/36kr): add WAF token handling (#21051) 2026-02-03 18:55:55 +08:00
Enoch Ma ee161b72e4 feat(route/openalex): initial support of openalex (#21032)
* initial support of openalex

* remove parseDate

* add caches and change paths
2026-02-03 02:29:48 +08:00
Enoch MaandTony 4047e341e2 fix: quanta magazine (#21031)
* exclude economist

* fix: use String.fromCodePoint instead of fromCharCode

* delete old version

* Update lib/routes/quantamagazine/archive.ts

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

* obtain the author information differently

---------
2026-02-03 02:13:39 +08:00
Enoch Ma e6598a0d91 fix(route): AEON (#21030)
* fix aeon

* improve layout

* remove escape chars

* Apply suggestion from TonyRL
2026-02-03 01:25:27 +08:00
Tony a4db4c217d feat(route): add gitkraken release note (#21044) 2026-02-03 00:50:36 +08:00
Thomas 8be09381e6 fix(route/picuki): Fix video source (#21043) 2026-02-03 00:04:43 +08:00
Jaya d9a611a574 fix(route/njxzc): handle absolute URLs and update library page selectors (#21028)
* fix(route/njxzc): handle absolute URLs and update library page selectors

- Fix URL concatenation in utils to handle absolute URLs properly
- Rewrite lib.ts handler for new library page layout with updated selectors

* fix(route/njxzc): address PR review feedback

- Remove unnecessary padStart for day (already padded)
- Remove invalid response.status check (ofetch returns body directly)
- Extract PDF attachment URL instead of showing generic message

* fix(route/njxzc): handle multiple attachments in wp_articlecontent

- Remove separate wp_pdf_player handling since it's inside wp_articlecontent
- Convert wp_pdf_player iframes to download links within content
- Preserve all attachment links (PDFs, docs, etc.) in the content
- Remove invalid response.status check from utils
2026-02-02 10:26:21 +08:00
Thomas 3583fba2e8 fix(route/picuki): Fix getting video id (#21029) 2026-02-02 05:43:27 +08:00
Zhang Yan bb1d219d5f fix(route/cool18): fix broken search parsing & add global search (#21024)
* fix(route/cool18): fix broken search parsing & add global search

* fix(route/cool18): add missing await in fetchArticleDetail

* fix(route/cool18): add extractGoldList to handle gold posts

* fix: example path

---------
2026-02-01 16:51:10 +08:00
TonyandCopilot 4dc4c165d4 fix(route/coolapk): handle shareUrl (#21027)
* fix(route/coolapk): handle shareUrl

* Update lib/routes/coolapk/utils.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-01 02:34:56 +08:00
Kota 45cf28a6c3 feat(route): add Scratch routes (#21025)
* add scratch routes

* add users'projects route

* refactor(route): remove old Scratch routes and add new MIT routes for user comments and projects
2026-02-01 01:08:27 +08:00
Tony 27869d9e3c fix(route/oschina): migrate to oschinapi (#21026)
* fix(route/oschina): migrate to oschinapi

* fix(oschina): correct API path formatting in news and utils
2026-01-31 18:34:04 +08:00
TonyandCopilot e5016e8ea7 feat(route/tiktok): add live (#21015)
* feat(route/tiktok): add live

* Apply suggestions from code review

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-30 12:25:36 +08:00
Tony 0b51e055b7 fix(route/typeless): add android platform support in changelog handler (#21014) 2026-01-30 10:44:10 +08:00
TonyandCopilot 8f4392d32a feat(route/nea): add nea bureaux (#21013)
* feat(route/nea): add nea bureaux

* Update lib/routes/gov/nea/bureau.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-30 10:28:21 +08:00
Donie Leigh 9ae9d53d2e fix(route/openai): fix chatgpt release notes extraction (#20971)
* fix(route/openai): fix chatgpt release notes extraction

- Use Puppeteer to bypass Cloudflare protection
- Extract content from rendered HTML instead of React Router data
- Use .html() to preserve formatting, links and styles in descriptions
- Support h2-h6, ul/ol, p, and other HTML elements

* refactor(route/openai): use ofetch instead of puppeteer for chatgpt release notes

- Use ofetch to fetch page content
- Simplify description extraction with prop('outerHTML')
- Use map() instead of each() + push()
- Use config.cache.routeExpire for cache duration

* fix: use first h2 as title, fallback to h1 date if h2 missing
2026-01-30 00:27:18 +08:00
5b144a6692 fix(route/nuist): update bulletin route for new website structure (#21004)
* Update bulletin.ts

* style: auto format

* Update bulletin.ts

* style: auto format

* Refactor bulletin route to improve data extraction

fix: apply code review suggestions (selector, radar, author)

* style: auto format

* Update lib/routes/nuist/bulletin.ts

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

* Update lib/routes/nuist/bulletin.ts

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-29 13:59:38 +00:00
MMA 07cd821cd2 feat(route): add support for dailypush.dev (#20972)
* add support for dailypush.dev

* fix base url

* use map over push

* remove unnecessary option

* remove unnecessary option

* change tag route

* fix

* fix base url
2026-01-27 23:39:14 +08:00
后稷 05437e4252 feat(route/zzu math & sxy): add math and business department route (#20970)
* feat(route/zzu math & sxy): add math and business department route
- Add new route for Zhengzhou University School of Mathematics
- Add new route for Zhengzhou University Business School

* fix(zzu/sxy): 少量修复内容
2026-01-27 08:49:45 +08:00
Donie Leigh 3feaff89fd feat(route): Add ChatGPT Atlas release notes route (#20969)
* Add ChatGPT Atlas release notes route

- Add route: /openai/chatgpt-atlas/release-notes
- Parse release notes from OpenAI help center
- Use Puppeteer to bypass Cloudflare protection
- Extract build version, date, and content sections
- Cache results for 24 hours
- Proper resource cleanup (browser.close())

* Add ChatGPT Atlas release notes route

- Add route: /openai/chatgpt-atlas/release-notes
- Parse release notes from OpenAI help center
- Use Puppeteer to bypass Cloudflare protection
- Extract build version, date, and content sections
- Cache results for 24 hours
- Proper resource cleanup (browser.close())
2026-01-27 01:48:26 +08:00
dreaifekks 895672f5ea docs: Clarify YouTube API key(YouTube Data API v3 enable) requirement for live route (#20974)
* Add CLI script for youtube live lookup

* Make youtube live debug script standalone

* Update YouTube API key requirement docs

* Clarify YouTube API key requirement for live route

* Adjust YouTube live API key docs

* Enhance YOUTUBE_KEY description with API link

Updated the description for the YOUTUBE_KEY configuration to include a link to the YouTube Data API v3.

* Update youtube Data API v3 enable doc url
2026-01-26 22:26:21 +08:00