Commit Graph
8270 Commits
Author SHA1 Message Date
Tony 1cc197a104 feat(route/youtube): only get subtitle for jsonfeed (#20375) 2025-10-26 22:56:09 +08:00
Tsuyumi25 e1fe935494 docs(mercari): clarify Japan-only support (#20373)
* docs(mercari): clarify Japan-only support

* Update search.ts
2025-10-26 14:51:30 +08:00
github-actions[bot] 00bd2cc244 style: auto format 2025-10-25 11:33:27 +00:00
mslxlandLiangddBUG 259bdcc002 feat(route): add GitHub repo, user and org event routes (#20330)
* feat(route): add GitHub repository event route

Co-authored-by: LiangddBUG <113956019+LiangddCoder@users.noreply.github.com>
Signed-off-by: mslxl <i@mslxl.com>

* feat(route): add GitHub user and org event routes

Signed-off-by: mslxl <i@mslxl.com>

---------

Signed-off-by: mslxl <i@mslxl.com>
Co-authored-by: LiangddBUG <113956019+LiangddCoder@users.noreply.github.com>
2025-10-25 19:31:37 +08:00
AwesomeDogandTony ba0c820aee feat(route): add eastmoney gerenzhongxin 4 routes (#19791)
* feat(route): add eastmoney gerenzhongxin cfh

* feat(route): add eastmoney gerenzhongxin guba trpl

* feat(route): add eastmoney gerenzhongxin gather

* Update lib/routes/eastmoney/gerenzhongxin/cfh.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/cfh.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/guba.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/cfh.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/trpl.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/guba.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/trpl.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/gather.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/guba.ts

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

* Update lib/routes/eastmoney/gerenzhongxin/trpl.ts

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

* Update use post_title instead.

* Update use blockquote instead.

* restore the abbreviated content as title. For the website is like twitter, there are only contents, no post_title.

* use blockquote to properly and semantically format the post and reply content

* Some of the posts do have a valid post_title. Now the post title has a precedence, if it is not valid, then use the abbreviated content

* fix deepscan result for INSUFFICIENT_NULL_CHECK

* fix deepscan result

---------
2025-10-25 18:55:56 +08:00
KeoandTony 9d4efc58bb feat(route): add NTR BLOG (#20369)
* feat(route): add NTR BLOG

* add feed lang

* Update lib/routes/ntrblog/articles.ts

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

* Update lib/routes/ntrblog/articles.ts

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

* update removal selectors

--------
2025-10-25 05:52:04 +00:00
chris zheng e45d803691 fix(route/cjlu/yjsy): use Puppeteer to fetch CJLU Graduate School notices after anti-crawler update (#20359)
* fix(route/yjsy): use puppeteer to bypass WAF

* fix: chage waiting-util to get fully loaded page

* fix: remove 'stylesheet' from excludeResourceTypes in yjsy route

* chore: provide default title for notifications in yjsy route

* fix: add HTTP headers for Puppeteer page requests in yjsy route

* fix: replace global ua in config with a static value

* fix: change waitUntil from 'networkidle0' to 'networkidle2'

* fix: set ua with setUserAgent

* fix: ensure user agent is set after HTTP headers in Puppeteer page requests

* fix: add limit parameter to handler for controlling result set size

* fix: update resource type handling in request interception

- use default maxAge managed by env
2025-10-25 00:42:50 +08:00
Alex ddf62a3269 fix: wikipedia/current-events: content extraction and html output (#20338)
* Fix content extraction and html output

- Content extraction was breaking in case it included a templating
  instruction
- the html output was non-compliant html by having nested <ul>...</ul>
  not belonging to a <li>...</li> element.

* refactor processListsAndLines in smaller functions

* fix date consistency

- title was using a date reconstructed from UTC time which led to
discrepancy between the content date and the title
- pubDate was based off the gmt time at which the process was
run. Instead, if the last possible entry time (23.59.59 gmt-12) is
passed, we use that, if not we use current time. This should reflect
more or less a form of 'publish' date status from this portal.

* ensure empty-ish page doesn't lead to entry creation
2025-10-24 23:34:04 +08:00
CathorQ b42bca977d fix(route/gelbooru): Fix variable name from useId to userId (#20263) 2025-10-24 23:03:33 +08:00
Bendancom 71e1d2b5c0 fix(route/hypergryph/arknights/arktca): rename the route & fix the source URL error (#19897) 2025-10-24 20:02:54 +08:00
Tony dad3e58d66 fix(route/abc): fix namespace disambiguation 2025-10-24 18:09:33 +08:00
BreezyandTony d4f5b8d261 fix(route/npr): added common name; updated audio selector; removed unwanted elements; prefer tags to slug (#19712)
* fix(route/npr): added common name; updated audio selector; removed unwanted elements; prefer tags to slug

* Updated `<p>` to `<br>` as suggested.

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

---------
2025-10-24 17:35:08 +08:00
Tony 43e8b3ef83 fix(route/patreon): fix feed title and description (#20351) 2025-10-22 11:27:36 +08:00
HappyZhu99 a547e382fd fix(route/sciencedirect): fix that abstract will not show when highlights appear (#20333)
* fix(route/sciencedirect): fix abstract will not show when highlights appear

now both abstract and highlights will show. only abstract will be shown when there is no highlights for the paper

* Update current-issue.ts

* fix(route/sciencedirect): fix vary length of abstract array
2025-10-21 01:29:39 +08:00
Tony 20e903ef90 fix(route/yahoo/utils): fix yahoo header overflow (#20336) 2025-10-20 21:24:44 +08:00
Ethan Shen e03111c570 feat(route): add Oak Ridge National Laboratory All News (#20279) 2025-10-20 00:06:18 +08:00
Loongphy Wei 5dea530119 feat(route): Cognition Blog (#20314)
* feat(route): Cognition Blog

* refactor: simplify blog route by removing query limit and content fetching

* feat: fetch page 1
2025-10-19 21:27:19 +08:00
Tony f3e71025ca fix(route/apnews): replace routePath helper with direct access (#20329) 2025-10-19 15:15:37 +08:00
powerfullz ecd27a3223 feat(route/csust): multiple refactor to optimise the csust route (#20325) 2025-10-18 06:38:02 +00:00
karasu d1fc409436 refactor(route): stdaily (#20313)
* refactor(route): stdaily

* fix: replace `sort` with `toSorted`
2025-10-18 13:35:11 +08:00
powerfullz 625b9c0188 feat(route): add 长沙理工大学 - 通告公示 (#20309)
* feat(route): add 长沙理工大学

* feat(route/csust): improve content cleaning and avoid double HTML parsing

* fix(route/csust):  preserving essential style attributes

* refactor(route/csust): simplify content cleaning to preserve structure
2025-10-17 05:31:34 +08:00
karasu 7659eb2cee feat(route): miyuki.jp (#20305)
* feat(route): miyuki.jp

* fix: fix timezone

* cache the whole `DataItem`
2025-10-16 22:00:00 +08:00
Ethan Shen 4b665de487 feat(route): add 立创开源广场 (#20258)
* feat(route): add 立创开源广场

* fix description
2025-10-15 01:58:14 +08:00
Eldritch Garden bb41549c6f fix(route/artstation): csrf token (#20290)
* fix csrfToken

* use cookie header to ensure we get private csrf token
2025-10-14 23:47:48 +08:00
ZEN 9cced9a4cf feat(route): add resetera thread latest posts (text + images) (#20098) 2025-10-14 14:06:31 +08:00
Stephen Zhou 52f802320d feat(api): check subtitle api response 2025-10-11 12:16:54 +08:00
Stephen Zhou 16f50c8e30 fix(route/bilibili): remove useless cookie get 2025-10-11 11:58:57 +08:00
Stephen Zhou 6ecfd818fd fix(route/bilibili): check subtitle permission 2025-10-11 11:23:29 +08:00
IChengHo a27330a771 fix(route/udn/global): Combine hot articles into default UDN Global feed (#20271)
* fix(route/udn/global): combine both hot and index article when no specific categories is request

* fix(route/udn/global): fix snake case
2025-10-11 04:16:26 +08:00
Tony 4549131d55 fix(route/zaobao): nullable keyword (#20272) 2025-10-11 00:58:07 +08:00
Stephen Zhou 04a17c0b05 fix(route/bilibili): retry get subtitle with new cookie 2025-10-10 23:18:09 +08:00
Neko AriaandNekoAria aeec1eda5d fix(route/github): handle missing commits in PushEvent payload (#20262)
Co-authored-by: NekoAria <NekoAria@users.noreply.github.com>
2025-10-10 20:15:53 +08:00
Stephen Zhou f8c1415b8e fix(route/bilibili): duration for video route 2025-10-09 10:44:18 +08:00
Molly Kan 78cb105483 fix(route/nhk/news): update news source (#20252) 2025-10-07 21:44:56 +08:00
Tsung-Han Yu 23728d488c fix(route/wikipedia): empty feed issue (#20244) 2025-10-07 09:31:53 +08:00
Ethan Shen cf5fef32a2 feat(route): add PixelsTech Feed (#20243) 2025-10-07 03:21:41 +08:00
Zhaowei Zhong 51790e38c2 feat(route): Fix and update LoveLive! routes due to official website renewal (#20240)
* Fix lovelive due to website renewal

* Update lib/routes/lovelive-anime/news.ts

---------
2025-10-07 01:12:46 +08:00
Andvari 2c46b2ad1c fix(route/caixin): Handle occasional occurrence of nonexistent video content (#20241) 2025-10-06 22:56:44 +08:00
Tony 626943bf81 feat(route): add chinatimes from (#20232)
refs: #13492
2025-10-06 05:28:30 +08:00
Elijah Lopez c34f37cd8d feat(route): add Alto Canada Train (#20193) 2025-10-05 04:23:51 +08:00
Elijah Lopez 41d3371dc1 feat(route): add Prime Minister of Canada website (#20182)
* feat(route): add Prime Minister of Canada website

* fix: 404 when language is fr

---------
2025-10-05 00:09:17 +08:00
Ethan Shen d5721d4710 feat(route): add The Indian Express Section (#20224)
* feat(route): add The Indian Express Section

* fix typo

* fix typo
2025-10-04 18:30:24 +08:00
Tony 49685ad6b3 fix(ofetch): include error cause in request error logging (#20225) 2025-10-04 04:50:53 +08:00
Xenlyra c0f46cff5e fix(route/taptap/topic): add extra check to make sure the existance o… (#20220)
* fix(route/taptap/topic): add extra check to make sure the existance of topic.id_str

* fix(route/taptap/topic): return valid content instead of filter
2025-10-04 03:56:22 +08:00
Tsuyumi25 5dc47ab9c0 feat(route/mercari): add advanced search route with flexible query parameters (#20215) 2025-10-03 06:05:56 +08:00
SimbaFsandTony ae08e37452 feat(route): add new route for NYCU (#20214)
* Add 國立陽明交通大學

* ensure timezone

* Update lib/routes/nycu/aa.ts

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

* Update lib/routes/nycu/announcement.ts

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

* Update lib/routes/nycu/cs.ts

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

* Update lib/routes/nycu/osa.ts

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

* Update lib/routes/nycu/osa.ts

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

* Update lib/routes/nycu/aa.ts

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

* Update lib/routes/nycu/announcement.ts

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

* Update lib/routes/nycu/cs.ts

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

* remove unrelated description

* remove hardcoded number

* fix the for loop

* fix typo

---------
2025-10-03 04:37:06 +08:00
himawari 2fa77a556e feat(route): 添加哈尔滨工业大学(深圳)的教务处通知的路由 (#20108)
* ✨ 添加哈公深教务处

* 🎨 修改拼接逻辑

* 🐛 修改const错误

* ✨ 添加按页数查,按时间排序

* 🎨 加速运行

* ✨ 添加教务管理

* 🎨 教务学务分离出来

* 🎨 优化速度

* 🔥 删除教务动态

* 🐛 修改翻页问题

* ✨ 添加综合代码

* ✨ 添加类型筛选

* ⚡️ 修改pr评论问题

* 🎨 添加空值检查

* 🐛 修改pr的评论问题

* 🐛 修改评论问题

* 🐛 修改es问题

* 🎨 修改代码问题

* 🐛 去掉多余的promise

* 🐛 使用通用sort和limit逻辑

* 🐛 不翻页

* 🐛 修改review问题

* 🐛 修改标题带日期的问题

* 🐛 优化标题
2025-10-02 13:56:51 +08:00
github-actions[bot] 004a2fd2c9 style: auto format 2025-10-01 16:51:34 +00:00
Ethan Shen 67a3d7870a feat(route): add 0xxx.ws (#20207)
* feat(route): add 0xxx.ws

* update lib/routes/0xxx/index.ts
2025-10-02 00:49:50 +08:00
JinKaiandTony ee266b0ddc feat(route): 新增新余学院官网通知及图书馆通知路由 (#20051)
* feat(route): 新余学院官网通知及图书馆通知路由

* fix: remove router

* refactor(xyu): Remove paging processing logic

* fix: eslint error fix

---------

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2025-10-01 13:58:39 +08:00