Commit Graph
5613 Commits
Author SHA1 Message Date
Ethan Shen 6eef6cdcdc feat(route): add 中证网中证视频 (#14457) 2024-02-15 02:26:37 +08:00
Ethan Shen 38363ce8e1 feat(route): add 中证网 (#14446) 2024-02-13 00:37:26 +08:00
Andvari 03d13d27c6 fix(route/huxiu): Prevent URL parsing error. (#14445)
* Update util.js

* Update util.js
2024-02-12 23:49:46 +08:00
Ethan Shen fc84c92b95 feat(route): add World Meteorological Centre Beijing Publish (#14441) 2024-02-11 06:10:23 +08:00
Tony 92e609ef5a feat(route): chinamoney (#14437) 2024-02-09 22:44:50 +08:00
CaoMeiYouRen eb6896f20f fix(route): Fix the issue of missing post cover in the official routing of Miyoushe; Optimize the data processing of posts | 修复 米游社官方路由中帖子封面缺失的问题;优化帖子的数据处理 (#14436)
* feat(route): 增加 米游社 - 用户关注动态 路由

* fix(route): 修复 路由、文档的风格问题

* docs: fix envs

* fix(route): 修复 米游社官方路由中帖子封面缺失的问题;优化帖子的数据处理

---------
2024-02-09 21:14:05 +08:00
Ethan ShenandTony 3becd47ba3 feat(route): 中证网中证快讯 (#14424)
* feat(route): 中证网中证快讯

* update lib/v2/cs/zzkx.js

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

* update lib/v2/cs/zzkx.js

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

* fix: remove unused import statement

---------
2024-02-09 02:01:21 +08:00
Tony f9b9acbbcc feat(route): zhihu top topic (#14431) 2024-02-08 21:25:09 +08:00
CaoMeiYouRen b63690c64a feat: New Route Miyoushe - User Follow Dynamics | 新增路由 米游社 - 用户关注动态 (#14425)
* feat(route): 增加 米游社 - 用户关注动态 路由

* fix(route): 修复 路由、文档的风格问题

* docs: fix envs

---------
2024-02-08 19:27:26 +08:00
CrackTC 9d8fc0e356 fix(route): bsky (#14429) 2024-02-08 17:17:05 +08:00
Tony e62362ab13 feat(route): tass (#14426) 2024-02-08 00:53:04 +08:00
AndvariandTony 673aad4540 fix(route/thepaper): Avoid destructuring string when parsing tags (#14383)
* Update utils.js

* Update lib/v2/thepaper/utils.js

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

---------
2024-02-07 18:32:40 +08:00
pigleiandTony 7a76fc009c feat(route): add new route "konghq/blog-posts" (#14414)
* Feature: add new route honghq/blog-posts

* Update comment of route konghq/blog-posts

* Update lib/v2/konghq/blog-posts.js

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

* Update lib/v2/konghq/blog-posts.js

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

* Add radar.js for konghq route.

---------
2024-02-07 15:34:15 +08:00
Ethan Shen b9771bd52c fix(route): 艾瑞周度市场观察 (#14400) 2024-02-06 00:30:17 +08:00
Tony 23dfb6c6f2 fix(route): freewechat link (#14397) 2024-02-05 20:26:40 +08:00
CaoMeiYouRen 4224b97ad7 feat(route): Weibo Routing Add User Latest Follow Timeline | 微博路由 添加 用户最新关注时间线 (#14385)
* feat(route): 微博路由 添加 用户最新关注时间线

* fix(route): 优化 微博最新关注时间线 的标题显示

---------
2024-02-05 20:07:52 +08:00
github-actions[bot] 52bcabde30 style: auto format 2024-02-05 11:48:42 +00:00
Kawauso acfcd0cafc feat(route): Optimize the title of Caixin Weekly | 优化《财新周刊》标题 (#14396)
* 优化标题

* feat(route): Optimize the title of Caixin Weekly
2024-02-05 19:46:49 +08:00
tmr c93226cdff feat: make url clickable (#14353) 2024-02-05 19:18:59 +08:00
Ethan Shen b552dad8d7 fix(route): 新华网新华社新闻 (#14390) 2024-02-04 05:42:43 +08:00
SettingDust f892480be7 fix(modrinth): using path param instead of query string since the que… (#14367)
* fix(modrinth): using path param instead of query string since the query won't affect cached result

* fix(modrinth): use `URLSearchParams` instead of querystring

* docs(modrinth): typo

* fix(modrinth): avoid empty array query when no value

---------
2024-02-03 10:35:11 +08:00
github-actions[bot] 3b4c9ebe42 style: auto format 2024-02-02 15:49:43 +00:00
ruoshui9527 0a909ecd93 feat(route): add 我不是盐神 (#14348)
* Create common.js

* Create maintainer.js

* Create router.js

* Create radar.js

* Update common.js

A space is add after ','.

* Update common.js

A space is add after ','.

* Update common.js

* Update radar.js

* Update new-media.mdx

* Update maintainer.js

* Update radar.js

* Update radar.js

* Update radar.js
2024-02-02 23:47:52 +08:00
CaoMeiYouRen 002302fae0 feat(route): 优化微博博主路由 (#14365) 2024-02-01 19:38:17 +08:00
tmr 670f6f3ca7 fix: replace weibo a href img (#14354) 2024-02-01 10:20:39 +08:00
Ethan Shen ca97f7ccbd feat(route): add 中国汽车工业协会 (#14356) 2024-02-01 00:28:16 +08:00
DIYgod a712fd50a6 fix: twitter login error logs 2024-01-31 18:29:50 +08:00
DIYgod 631934bffe feat: twitter login error logs 2024-01-31 18:07:26 +08:00
DIYgod da2754e234 feat: twitter login cache and logs 2024-01-31 17:37:53 +08:00
SettingDust 4627eea2af fix(modrinth): match index of projects (#14352) 2024-01-31 16:21:31 +08:00
SettingDust 655c59d89a fix(modrinth): correct the radar rules for working with (#14351) 2024-01-31 13:25:07 +08:00
e390030ca1 feat: Add Thai Parliament's Public hearing (according to Thai constitution section 77) (#14260)
* feat: Add Thai DOL website

* feat: Add timezone, Radar for Thai DOL e-LandsAnnoucements

* Update lib/v2/dol/maintainer.js

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

* Update website/docs/routes/government.mdx

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

* Update lib/v2/dol/radar.js

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

* Feat: Init Thai Parliament section77

* Switch got to Puppetteer, add radar, doc

* Fix DeepScan: Expression 'parseInt(maxPageElem.attr('id'))' always passes null check. Consider using 'isNaN()' instead if invalid number checking was intended.

* Change NaN handling to satisfy DeepScan

* Fix ESLint issues

* Fix: Reject PuppeTeer, embrace got with ToughJar. Thk @TonyRL

* Correct header style

* perf: Remove fetching pagination. Only first page.

* chore: Move original text out of header

* Update lib/v2/parliament/radar.js

---------

Co-authored-by: rrachasak <dev@rachasak.org>
2024-01-31 00:44:05 +08:00
SettingDust 93e93a3756 feat(modrinth): add project versions route (#14340)
* feat(modrinth): add project versions route

* docs(modrinth): add project versions

* fix(modrinth): query string wrong

* feat(modrinth): add radar rule

* fix(modrinth): using `searchParams` from `got` & single line type annotation
2024-01-30 13:28:19 +08:00
Ethan Shen 38fbcf09f1 feat(route): add 中国汽车工业协会统计信息网 (#14339) 2024-01-30 12:28:24 +08:00
DIYgod 5c8e5421e2 feat: add TWITTER_AUTHENTICATION_SECRET 2024-01-30 00:37:12 +08:00
DIYgod 3ae25ddb7a feat: support twitter username and password login 2024-01-29 20:06:44 +08:00
Tony 7412e9ef5d fix(route): guanhai (#14337) 2024-01-29 04:28:11 +08:00
KTachibanaM 00fecf46fc fix javlibrary genre route because some spans may not have class attr in individual pages (#14334) 2024-01-29 03:28:33 +08:00
Ethan Shen 0f6240e2d9 fix(route): Firefox release notes (#14331) 2024-01-28 00:23:48 +08:00
Rongrong fc42bebb47 fix(route/twitter): reply URL; threads when excludeReplies=1 (#14330)
Without `legacy.id_str`, reply URLs would be constructed with conversion
IDs, resulting in:
- wrong URLs: pointing to the first tweet in the conversion (thread)
- multiple items with the same guid: each tweet in a conversion (thread)
  had the same URL and thus guid

The bug was caused by the widely used temporary fix (legacy.id_str ||
legacy.conversation_id_str) after Twitter had upgraded their API. Thus,
it is quite easy to fix it:
Refill legacy.id_str using the rest_id that resides in the container of
legacy.

With it fixed, take a step further to include threads when
excludeReplies=1 (simulating the behavior of Twitter Web/App).

Signed-off-by: Rongrong <i@rong.moe>
2024-01-28 00:11:32 +08:00
Ethan Shen dfef12524c fix(route): Foresight News column (#14322) 2024-01-26 03:23:16 +08:00
Tony d1b3e161dc fix: use sanitize-html (#14312)
* fix: use sanitize-html

* test: add brief test
2024-01-24 02:40:11 +08:00
Andvari 716f59e903 fix(route/tencent): Circumvent video type link. (#14302)
* fix(route/tencent): Circumvent video type link.

* .
2024-01-24 02:35:08 +08:00
Ethan Shen c903abcdfb feat(route): add 川流严选 (#14303)
* feat(route): add 川流严选

* fix: add null check

* fix: add null check
2024-01-23 23:35:10 +08:00
Tony 542d03943a feat(route): mrm (#14311)
* feat(route): mrm

* fix: maintainer
2024-01-23 13:39:41 +08:00
Tony 89788a6470 fix(route): huanqiu (#14304) 2024-01-23 01:31:53 +08:00
Tony f965e0b15f feat(route): keepass (#14301) 2024-01-22 14:35:58 +08:00
Tony b50d1d7725 fix: recover cntheory (#14300)
* fix: recover cntheory

* fix: replaceAll
2024-01-22 12:52:00 +08:00
Tony 0a9296075e feat(route): scmp topics (#14299)
* feat(route): scmp topics

* docs: remove /en from docs url

* fix: router order

* fix: http verb
2024-01-22 05:13:40 +08:00
Tony 6c6ce0ce12 fix: codeql incomplete multi-character sanitization (#14298) 2024-01-22 00:32:37 +08:00