Commit Graph
7893 Commits
Author SHA1 Message Date
Jia Chen 32047705a6 fix(route/woshipm): fix article link generation and optimize parsing logic (#19098)
- Fix article link generation logic by using default value 'ai' when item.type is undefined
- Optimize article parsing process by using Promise.allSettled to ensure partial failures don't block overall results
2025-05-14 21:49:42 +08:00
DIYgod 68aed429c5 feat(core): filter out null route 2025-05-14 20:25:45 +08:00
DIYgod d2743c9d4f feat(core): add routePath in response header 2025-05-14 17:21:22 +08:00
github-actions[bot] cd8a527b8e style: auto format 2025-05-14 01:35:05 +00:00
03ebfff566 feat(route): add National Museum of China (#19084)
* 添加源"中国国家博物馆"

* 添加源"中国国家博物馆"

* 添加源"中国国家博物馆"

* Update lib/routes/chnmuseum/xingnew.ts

Only use template literals when necessary.

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

* Update lib/routes/chnmuseum/xingnew.ts

Only use template literals when necessary.

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

* Update lib/routes/chnmuseum/xwzt.ts

Only use template literals when necessary.

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

* Update lib/routes/chnmuseum/xwzt.ts

Only use template literals when necessary.

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

* Update lib/routes/chnmuseum/xingnew.ts

change categories to 'travel'

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

* Update lib/routes/chnmuseum/xwzt.ts

change categories to 'travel'

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

---------

Co-authored-by: liji <test1@123.com>
2025-05-14 09:33:00 +08:00
Kjasn 10e38ee7f7 feat(route): add specific comic update route (#19087) 2025-05-13 03:22:19 +08:00
tourist 83a6de456a feat(route/bbc): support BBC Learningenglish chinese channel (#19080)
* feat(route/bbc): support BBC Learningenglish chinese channel

* refactor(route/bbc): use spread operator over concat

* Update lib/routes/bbc/learningenglish.ts
2025-05-12 22:41:38 +08:00
quiniapiezoelectricity eb9cabb75d fix(route/theinitium): fix footer (#19086) 2025-05-12 21:36:55 +08:00
Stephen Zhou b247c9dab2 fix(route/bilibili/video): missing description in dynamic api (#19085) 2025-05-12 18:18:27 +08:00
moonrailgun 98961927dc fix(route/ntdm): fix code issue for ntdm route (#19077) 2025-05-12 17:09:42 +08:00
Guorui Yu d326b3351d feat(route/zhihu): require ZHIHU_COOKIES for authentication (#19075) 2025-05-11 21:48:30 +08:00
qiye45andqiye45 723972c847 feat(route): add 虫部落 (#19072)
* 添加虫部落论坛路由

* feat(route): add chongbuluo route

* refactor(chongbuluo):Optimize code structure

* refactor(chongbuluo):Optimize code structure

---------

Co-authored-by: qiye45 <qiye45@users.noreply.github.com>
2025-05-11 03:51:48 +08:00
Tony 049adef23d feat(route/anthropic): add engineering (#19070) 2025-05-09 22:18:34 +08:00
Saif Azmi 1c681d2835 feat: add updated to linkedin company post items (#19060) 2025-05-09 03:59:32 +08:00
独自等待and独自等待 56436caef0 fix: /flyert/creditcard 493错误 (#18974)
* 修正域名,增加随机时间控制,限制并发为2

* 使用new URL替换url.resolve并增加p-limit库

* 使用官方推荐的库实现相同的功能

* 使用官方已有函数减少重复代码

* chore: remove p-limit

---------

Co-authored-by: 独自等待 <liliang@LL-147.local>
2025-05-09 02:57:11 +08:00
Tony 5a2e38580c fix(route/rfi): fix category (#19059) 2025-05-09 02:31:11 +08:00
Tony 81ee26fff2 chore: use jsdelivr cdn link to avoid github 429 when build docs 2025-05-09 02:16:10 +08:00
github-actions[bot] 330499134f style: auto format 2025-05-08 17:44:07 +00:00
Ice ChestnutandTony 4f2c544fa5 feat(route): 添加 Apex Legends 官网资讯路由 (#19056)
* feat: 添加 Apex Legends 官网资讯路由

新增 Apex Legends 官网资讯路由,支持获取最新消息和游戏更新。

* chore(code-style): 统一换行符为LF

* Update lib/routes/apex-legends/news.ts

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

* Update lib/routes/apex-legends/news.ts

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

* Update lib/routes/apex-legends/news.ts

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

* refactor(routes): 将Apex Legends相关路由迁移至EA命名空间下

* Update lib/routes/ea/namespace.ts

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

* Update lib/routes/ea/apex-news.ts

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

* Update lib/routes/ea/apex-news.ts

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

* refactor(apex-news): 移除未使用的radar配置

---------
2025-05-09 01:42:02 +08:00
Stephen Zhou e1ae2b0200 fix(route/bilibili/video): fallback to dynamic api (#19058)
* fix(route/bilibili/video): fallback to dynamic api

* update

* update
2025-05-09 01:19:28 +08:00
Ethan Shen be620d2348 feat(route): add Amazfitwatchfaces (#19032)
* feat(route): add Amazfitwatchfaces

* fix: missing description for searchParams

* refactor: fix Element type import

---------
2025-05-08 22:22:03 +08:00
Kjasn c540575892 feat(zaimanhua): add route for recent comics zaimanhua (#19044)
* feat(zaimanhua): add route for recent comics zaimanhua

* fix: update route name, link and category
2025-05-08 21:29:08 +08:00
Guorui Yu 4e7fb94cec feat(route): add community blogs for huggingface (#19043) 2025-05-08 21:03:24 +08:00
圆头圆脑 aae579008e fix: 调整/crac/exam路由description字段内容 (#18955) 2025-05-08 20:52:27 +08:00
Andvari b9ca4467be fix(route/udn): Correct regex (#19033) 2025-05-08 00:26:11 +08:00
GabrlieandGabrlie f8242fe166 fix(route/cool18): update selectors (#18985)
* fix(route/cool18): switch puppeteer content fetching due to HTML being disabled

* fix(route/cool18): Cancel the hard coding of the id

* fix(route/cool18): Remove puppeteer and use json parse

* fix(route/cool18): Add default page size

* fix(route/cool18): Change the non-home page to the previous acquisition method

* fix(route/cool18): Fix some bugs

* fix(route/cool18): Unify network requests with ofetch. Optimize code structure

---------

Co-authored-by: Gabrlie <gabrlie@gabrlie.top>
2025-05-07 20:06:37 +08:00
github-actions[bot] 33a651b689 style: auto format 2025-05-07 06:55:15 +00:00
UnknownandTony 05b77deb0f fix(route/hpoi/info): 更新了页面解析逻辑 (#19009)
* fix(route/hpoi/info): use query param to avoid fetcherror

* fix(route/hpoi/info): update site parse function

* Update lib/routes/hpoi/info.ts

fix variable name which forget modify

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

* Update lib/routes/hpoi/info.ts

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

---------
2025-05-07 14:52:53 +08:00
pseudoyu 8a394dd966 chore(route/youtube): add youtube community posts 2025-05-07 10:26:35 +08:00
Tony 8faec7fbfd refactor: fix Element type import 2025-05-07 04:18:23 +08:00
pseudoyu 2e5c24794b refactor(route/people): use ofetch instead of got 2025-05-06 12:18:59 +08:00
Tony f68f81c49d fix(utils/common-config): import parseDate and timezone functions for date handling (#19023) 2025-05-06 02:07:35 +08:00
Kjasn 0510d8391e feat(route): add Jumeili home route (#19021) 2025-05-05 23:57:21 +08:00
Urabartin 3662994235 fix(route/jpxgmn): get source url automatically (#19002) 2025-05-04 18:45:31 +08:00
github-actions[bot] 32e47fb284 style: auto format 2025-05-03 21:26:51 +00:00
Tony a5e2e295dc refactor: fix all get to toArray (#19000)
* refactor: fix all get

* fix(utils/common-config): charset case compare

* Revert "fix(utils/common-config): charset case compare"

This reverts commit 3c1880f2fad53ad2cafddcee7741390fd46fa3d2.

* fix: nga

* fix: notateslaapp

* fix: ps

* fix: xjtu

* fix: enforce error on restricted syntax for get calls

* fix: eslint

* fix: more eslint
2025-05-04 05:24:53 +08:00
AiraNadihandAiraNadih 6bbf2f0289 fix(route/picnob): update picnob domain (#18998)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-05-03 22:47:06 +08:00
Kjasn b6d5603084 fix(route): enhance search route parameter descriptions (#18997) 2025-05-03 11:19:27 +08:00
Kjasn b638c77848 feat(route): add search route for Hanime1 (#18992)
* feat(route): add search route for Hanime1

* fix(route): modify the indents in description

* fix(route): delete the unnecessary indent
2025-05-03 00:31:49 +08:00
Kjasn ff83e833a6 fix(route): update previews route to support current month preview (#18995) 2025-05-02 23:22:10 +08:00
Zhenyu Qi bcbc7a8c44 fix(route/4khd): Update domain (#18988) 2025-05-02 04:38:21 +08:00
Zhenyu Qi 927513d6be fix(route/imhcg): 修复 (#18987)
* fix imhcg router

* Update maintainers
2025-05-02 02:35:56 +08:00
github-actions[bot] 6ff87c7d9c style: auto format 2025-05-01 14:47:51 +00:00
asqwe1andTony 03f5ce91cb feat(route): add new route m.sohu.com (#18965)
* add m.sohu.com route

* modify mobiles.ts

* modify mobile.ts

* modify mobile.ts use WapHomeRenderData

* modify mobile.ts

* modify mobile.ts

* modify mobile.ts

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* modify process more pubdate, handling video/picture post

* fix local variable now is not used

* modify ts

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update lib/routes/sohu/mobile.ts

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

* Update mobile.ts

* Update mobile.ts

---------
2025-05-01 22:45:49 +08:00
Ethan Shen 17e557d493 feat(route): add 中国日报网英语点津 (#18972)
* feat(route): add 中国日报网英语点津

* fix typo

* Update lib/routes/chinadaily/language.ts

---------
2025-05-01 00:30:20 +08:00
lcdgitandmozhu 0b5f9717f6 feat(route): add 知轩藏书 (#18950)
* add 知轩藏书

* fix:relative URL in image and description remove category

* fix:route description change

* fix(route/zxcs):remove redundant spaces

* fix(route/zxcs):remove redundant content from the description

* Update lib/routes/zxcs/novel.ts

---------

Co-authored-by: mozhu <lcl_em@163.com>
2025-04-30 20:11:09 +08:00
AiraNadihandAiraNadih e5df827aee fix(route/cosplaytele): revert to iterative content fetching due to WP JSON API being disabled (#18964)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-04-30 05:46:54 +08:00
Tony f19a725157 refactor: fix all no array reduce (#18973)
* refactor: no-array-reduce cleanup

* refactor: keep

* refactor: nhk

* refactor: rattibha

* fix: cctv

* fix: jiemian

* refactor: juejin

* refactor: kpopping

* refactor: yoasobi-music

* refactor: mycard520

* refactor: newrank

* refactor: sse

* refactor: zhihu

* feat!: remove trending

https://github.com/huqi-pr/trending-in-one is archived and no longer being updated.
https://github.com/huqi-pr/trending-in-one/commit/2ef4cd236fcccb908be7907d5ac9aab6f1f4a188

* refactor: sspai

* refactor: sysu

* refactor: nikkei

* refactor: utils

* refactor: mydrivers

* refactor: scmp

* refactor: gov/moa

* refactor: bloomberg

* refactor: manhuagui

* refactor: twitter
2025-04-30 04:16:32 +08:00
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

* fix: unicorn/no-array-callback-reference

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
dependabot[bot] 5a824d3367 chore(deps-dev): bump eslint-plugin-unicorn from 58.0.0 to 59.0.0 (#18957)
* chore(deps-dev): bump eslint-plugin-unicorn from 58.0.0 to 59.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 58.0.0 to 59.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v58.0.0...v59.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 59.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* fix: no-unnecessary-array-flat-depth

* fix(eslint): unicorn/prefer-import-meta-properties

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-28 21:50:53 +08:00