Commit Graph
8647 Commits
Author SHA1 Message Date
Mervyn Zhan 8f74424c39 fix(route/eastmoney): using .html() instead of .text() as description content (#21655)
fix #21654
2026-04-08 10:16:38 +08:00
Wenhao Deng 2933f894ac feat(route/thinkingmachines): add news route for Thinking Machines Lab (#21609)
* route(thinkingmachines): add news route for Thinking Machines Lab

Add route for Thinking Machines Lab (thinkingmachines.ai) news page.
Founded by Mira Murati (ex-OpenAI CTO), the lab publishes news about
their AI research and products.

Closes #0

* fix: use import type and sort imports for oxlint

* fix: correct import sort order per simple-import-sort

* fix: strip title/author/pubDate heading from description, remove unnecessary try/catch

Address review feedback:
- Remove .post-heading block from description (title, author, pubDate have dedicated fields)
- Remove try/catch wrapper (requests do not throw errors)

* fix: remove article fallback and strip paginator from description
2026-04-07 03:01:16 +08:00
Guorui Yu d8eaee5889 fix(route/twitter): dynamically resolve GraphQL query IDs and fix production CookieAgent (#21544)
* fix(route/twitter): dynamically resolve GraphQL query IDs from Twitter JS bundles

Twitter rotates GraphQL query IDs every 2-4 weeks, causing 404 errors.
Instead of relying solely on hardcoded IDs, fetch and cache the latest
query IDs from Twitter's client-web main.js bundle at runtime.

- Add gql-id-resolver module to extract queryId/operationName pairs
- Cache resolved IDs using CACHE_CONTENT_EXPIRE (Redis supported)
- Fall back to hardcoded IDs if dynamic resolution fails
- Update init() to trigger resolution before first API call

Signed-off-by: yuguorui <yuguorui@pku.edu.cn>

* fix(route/twitter): use undici.fetch directly to preserve CookieAgent dispatcher

Both ofetch and the global wrappedFetch (request-rewriter) drop the
dispatcher option when constructing a new Request object, which prevents
the CookieAgent from attaching cookies in production builds. Use
undici.fetch directly for Twitter API requests to preserve the dispatcher.

Signed-off-by: yuguorui <yuguorui@pku.edu.cn>

---------

Signed-off-by: yuguorui <yuguorui@pku.edu.cn>
2026-04-06 22:46:29 +08:00
humgent 8ac41e7a39 fix(xiaohongshu): fix broken img tag in user notes description (#21638) 2026-04-06 19:43:46 +08:00
github-actions[bot] 22e11c6164 style: auto format 2026-04-06 01:44:44 +00:00
Yunchen Bai 39cbdc3af8 feat(route/infoq): add article cover url (#21608)
* feat(route/infoq): add article cover url

* feat(route/infoq): move cover image to description

* fix: fix code format issue

* fix: remove unused whitespace
2026-04-06 09:44:09 +08:00
colaa-boom 99e31ebd1f fix: Update javdb domain in utils.ts (#21392)
更新一些备用域名
2026-04-04 17:55:29 +08:00
LinxHex e334550d61 feat(route): add Peter Wunder achievements badges feed (#21580)
* feat(route): add Peter Wunder achievements badges feed

* fix(route): address review feedback for Peter Wunder achievements
2026-04-04 14:36:25 +08:00
MMA 6288f06b97 fix(route/dailypush): use puppeteer (#21160)
* use puppeteer

* fix typo

* fix fetch page one by one

* use deprecated method

* bypass Disallow await inside of loops

* use one browser for the whole route

* bypass Disallow await inside of loops

* use one browser even if marked deprecated by doc

* use Promise.all()

* fix new destory -> destroy
2026-04-04 05:00:09 +08:00
Tony b0dd795e36 feat(route/castanet): add Castanet news (#21607)
* feat(route/castanet): add Castanet news

* fix(route/castanet): correct spelling of 'West Kelowna' to 'West-Kelowna'
2026-04-03 00:00:47 +08:00
Tony d42e134b99 fix(wechat2rss): update item parsing to use isoDate and remove unused finishArticleItem (#21604) 2026-04-02 22:02:45 +08:00
Tony f2ed334627 fix(route/gameapps): add item category extraction and clean up unwanted elements (#21605) 2026-04-02 21:42:05 +08:00
Tony 39058beeb3 feat(router/acfun): add embed option (#21589) 2026-04-02 05:41:05 +08:00
Tony 0f705a566c style: use oxlint-plugin-eslint for unimplemented eslint rules 2026-04-02 05:29:27 +08:00
Tony bbae3e2346 fix(route/anthropic): anthropic posts data (#21588) 2026-04-01 22:42:57 +08:00
dependabot[bot]andTony 3fb2954b18 chore(deps-dev): bump the oxc group across 1 directory with 4 updates (#21583)
* chore(deps-dev): bump the oxc group with 4 updates

Bumps the oxc group with 4 updates: [@oxlint/plugins](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint-plugins), [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt), [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) and [oxlint-tsgolint](https://github.com/oxc-project/tsgolint).


Updates `@oxlint/plugins` from 1.57.0 to 1.58.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/apps_v1.58.0/npm/oxlint-plugins)

Updates `oxfmt` from 0.42.0 to 0.43.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.43.0/npm/oxfmt)

Updates `oxlint` from 1.57.0 to 1.58.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.58.0/npm/oxlint)

Updates `oxlint-tsgolint` from 0.18.1 to 0.19.0
- [Release notes](https://github.com/oxc-project/tsgolint/releases)
- [Commits](https://github.com/oxc-project/tsgolint/compare/v0.18.1...v0.19.0)

---
updated-dependencies:
- dependency-name: "@oxlint/plugins"
  dependency-version: 1.58.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: oxc
- dependency-name: oxfmt
  dependency-version: 0.43.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: oxc
- dependency-name: oxlint
  dependency-version: 1.58.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: oxc
- dependency-name: oxlint-tsgolint
  dependency-version: 0.19.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: oxc
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: use jsPlugins for unicorn

* style: unicorn auto-format template-indent

* style: add unicorn v64 rules

* Revert "style: unicorn auto-format template-indent"

This reverts commit 5f4dbf4346465c9a9dcaf1b19ce5211e1d61bd78.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2026-04-01 22:10:13 +08:00
Tony 683121d071 feat(route): add tw-nongmu (#21578)
* feat(route): add tw-nongmu

* fix: add image

* Update market.ts

* Update market.ts
2026-04-01 07:16:50 +08:00
Tony a61dc787e6 fix(utils/wechat-mp): fix APP_MSG_PAGE metadata fetching (#21577)
* fix(utils/wechat-mp): fix APP_MSG_PAGE metadata fetching

* fix(tests/wechat-mp): update HTML string formatting in ExtractMetadata test
2026-04-01 06:00:17 +08:00
Tony 1fe4e8a4ae feat(core): add honeybadger support (#21574)
* feat(core): add honeybadger support

* feat(honeybadger): configure Honeybadger to disable uncaught error tracking

* feat(tests): add info logger mock to app-bootstrap tests

* test: fix mock value

* test: mock honeybadger as well
2026-04-01 01:10:12 +08:00
Tony 222322befc fix(routes): fix feed images (#21573) 2026-03-31 22:44:27 +08:00
Tony 2dbf56997c fix(route/gameapps): update selectors (#21572) 2026-03-31 22:18:35 +08:00
HaZy-Gaming 92b8da23a9 fix(github): update topics route selector to fix empty route (#21560)
解决GitHub Topics路由"Error: this route is empty"问题。
2026-03-31 04:31:39 +00:00
Tony a2861cdd4f fix: update rss-parser patch to support other compressions (#21561) 2026-03-30 22:22:24 +00:00
Tony 7d2baa89e5 fix(routes): remove hard-coded UA and use header presets (#21559) 2026-03-31 00:40:26 +08:00
Luke D Williams 482ad1cb80 feat(route/locals): add content feed (#21542)
* feat(route/locals): add authenticated feed route

Add a Locals route with auth_token-based feed fetching, classic-to-beta URL fallback, and support for community, home, content, and content_plus feed views. Parse feed pages into RSS items using shared post selectors while surfacing clear errors when access is unavailable.

* feat(route/locals): add content feed

Add a Locals content route that uses the authenticated session-backed server functions instead of brittle page scraping. Support tier filters and media-type filters so paid and content-library posts can be subscribed to reliably.

* fix(route/locals): include content thumbnails

Use Locals preview and audio image fields so content and podcast entries expose thumbnails consistently. Render the image into item descriptions and standard image fields for better feed reader compatibility.

* fix(route/locals): include regular content posts

Keep Locals content feeds from dropping regular text and photo posts that arrive as no_content entries with real body content. Preserve image handling while leaving plus feeds unchanged when the source only returns five content-plus items.

* fix(route/locals): prefer content poster images

Prefer Locals poster-style preview images over raw first-frame captures when both are available. Keep the raw frame fallback for posts where the API does not expose a styled poster image.

* fix(route/locals): resolve runtime action ids

Derive the Locals feed action id from the current runtime assets instead of hardcoding build-specific server function ids. Tighten option validation with own-key checks and align the radar source with supported matching rules.

* fix(config): sort locals session settings

Move the Locals session env key and config blocks into alphabetical order so the route-specific configuration matches the repository's config layout rules.

* fix(config): reorder locals session settings

* fix(route/locals): simplify route and request handling

* fix(config): restore locals config ordering

* fix(config): sort security key entry

* fix(route/locals): adjust message clarity of path parameter necessity
2026-03-30 05:44:45 +08:00
Tony 6ae3f644bf fix(route/kyodonews): update page selectors (#21549)
* fix(route/kyodonews): update page selectors

* Apply suggestion from @TonyRL

* Update lib/routes/kyodonews/index.tsx
2026-03-30 03:57:29 +08:00
Tony 63633560d1 fix(route/typst): fix typst (#21547) 2026-03-29 23:38:38 +08:00
Tony 7ab0d1eff4 fix(ua): ensure header-generator and custom ua are effective with each other (#21546)
* fix(ua): ensure header-generator and custom ua are effective with each other

* fix(ua): review comment
2026-03-29 22:47:56 +08:00
pseudoyu cacb6e46c6 feat(route/joneslanglasalle): add hk support 2026-03-28 20:30:40 +08:00
pseudoyu 0ef804c931 fix(route/nhentai): fetch failed issue 2026-03-28 19:46:34 +08:00
pseudoyu 898dcc1d18 chore: add missing maintainers 2026-03-28 19:25:45 +08:00
pseudoyu 16d80122c6 fix(route/joneslanglasalle): migrate to new website 2026-03-28 19:25:30 +08:00
pseudoyu 574fb663c2 fix(route/qiche365): use set cookie to fix fetch failed issue 2026-03-28 18:48:32 +08:00
pseudoyu 8ed4034b09 fix(route/caus): migrate to wordpress api 2026-03-28 16:17:17 +08:00
pseudoyu 881a9d895f fix(route/qidian): anticrawl issue 2026-03-28 15:58:28 +08:00
pseudoyu f85a159881 fix(route/rfi): parsing result logics 2026-03-28 15:29:55 +08:00
pseudoyu 6fc6b9cccf fix(route/discuz): cannot read properties of undefined 2026-03-28 15:19:23 +08:00
pseudoyu 1e7f5a65f8 fix(route/digitalpolicyalert): result parsing logics 2026-03-28 15:10:11 +08:00
pseudoyu 6daac07f55 feat(route/the): migrate to river.to 2026-03-28 14:41:02 +08:00
Tony a48ad7b4ae chore: bump transitive deps
brace-expansion
2026-03-28 01:43:37 +08:00
pseudoyu e9e9546d75 fix(route/18comic): result filter issue 2026-03-27 20:52:43 +08:00
pseudoyu 614a466a6d fix(route/theinitium): migrate to ghost cms api 2026-03-27 20:39:04 +08:00
pseudoyu 8988948f0a fix(route/jinse): use jinse.com.cn domain 2026-03-27 19:26:44 +08:00
pseudoyu ba09c4da6c fix(route/jiemian): wrong articles from list 2026-03-27 19:13:43 +08:00
pseudoyu ab63633b95 fix(route/udn): use new api 2026-03-27 18:27:30 +08:00
pseudoyu a7ca7c558c fix(route/fanbox): add withPinned query param 2026-03-27 18:12:15 +08:00
Tony 5ae7432b26 fix(ofetch): use late-binding fetch in ofetch to ensure request-rewriter intercepts bundled builds (#21518) 2026-03-26 21:24:46 +08:00
TimoYoung 3086b7784f fix(route/2048): fix captcha handling and update cookie management (#21512)
* fix(route/2048): fix captcha handling and update cookie management

- Removed outdated cookie handling logic and replaced it with safeid extraction from the captcha HTML.
- Updated the response structure to use safeid instead of safe18Pass for cookie management.
- Enhanced enclosure extraction logic to support new sources。

* chore(route/2048): remove unused renderToString import

Made-with: Cursor

* fix(route/2048): prioritize magnet-text and reuse read_tpc node

Made-with: Cursor
2026-03-26 18:41:35 +08:00
studyinglover 4200769d1a feat(route/xupt): add XUPT JYC notifications route (#21451) 2026-03-26 18:02:55 +08:00
FeCCCandgithub-actions[bot] a0e75a2f10 fix(route/iwara): use puppeteer to fix subscriptions route (#21495)
* fix(route/iwara): use puppeteer to fix subscriptions route

* style: auto format

* style(route/iwara): remove unnecessary async keyword in fetchApi

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-26 03:06:13 +08:00