Commit Graph
78 Commits
Author SHA1 Message Date
Tony c2510e0e2e fix(route): set preload to metadata as suggested by the [spec](https://html.spec.whatwg.org/multipage/media.html#attr-media-preload) (#15448) 2024-05-03 04:12:36 +08:00
karasu 3511bb3633 fix(route): zhihu/activities (#15252) 2024-04-16 17:06:10 +08:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
JimenezLi b47839e41c fix(route): xhu (#15097) 2024-04-04 21:26:37 +08:00
Ernest Dong 71fa40962c fix(route): 知乎时间线 (#9485) (#15063)
* fix(route): 知乎时间线 (#9485)

* fix(知乎): use query parameter limit with default 15
2024-04-03 12:05:13 +08:00
CaoMeiYouRen 3b5b43a3dc fix(route): 修复 知乎日报路由 (#15008) 2024-03-29 12:23:18 +08:00
DIYgod 5f9d8d994e fix: route titles 2024-03-18 22:43:32 +08:00
Tony d585a87daf fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod 1afe43eccd feat: add config description field 2024-03-12 01:52:06 +08:00
DIYgod e5b8f852f5 feat: add requireConfig 2024-03-12 00:29:52 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b fix: add routes 2024-03-09 03:24:53 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod e42ff57cb4 feat: replace require with import 5/n 2024-03-07 00:39:42 +08:00
DIYgod 34d889743b feat: replace require with import 4/n 2024-03-07 00:15:48 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
08602c778c fix(route): 修复/zhihu/question无法获取,需要设置非登录状态下cookie (#9729)
* 修复/zhihu/question,需要设置非登录状态下cookie

* Update lib/routes/zhihu/execlib/g_encrypt.js

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

* 根据TonyRL review建议进行了修改

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* 增加cookie中dc_0字段检验

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* refactor: migrate to v2

* fix: Incomplete URL substring sanitization

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-14 00:21:11 +08:00
jiechusandgithub-actions[bot] 1121f8c0a0 fix(route): 添加若干路由的图标 (#9301)
* cover

* add bilibili dynamic image

* fix bilibili dynamic

* fix bilibili dynamic x2

* style: auto format

* add afdian image

* style: auto format

* fix git

* style: auto format

* add zhihu activities image

* optimize zhihu activities title

* optimize TG channel title

* style: auto format

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* FIX betterTitle

* FIX betterTitle x2

* FIX betterTitle x3

* FIX betterTitle x4

* FIX betterTitle x5

* Optimize betterTitle preprocessed HTML tags

* FIX regular

* add IThome image

* Update channel.js

* Excluded Content

* Excluded Content

* 解决 DeepScan

* 解决 DeepScan

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-11 19:39:23 +08:00
hongfeiandHongfei Zhou cdcb2e580b fix(route): 修复知乎分类热榜链接 (#9220)
* [FIX] fix zhihu url

* fix: use parseDate utils

Co-authored-by: Hongfei Zhou <hongfei.zhou@motiion.com>
2022-03-01 09:30:45 +08:00
Fatpandac a8fdec6621 fix(route): zhihu/topic add type of the article (#8953) 2022-02-02 23:32:07 +08:00
Fatpandac f4abc22dcb fix(route): fix zhihu/zhuanlan route is empty and some answer item do not have question.author field (#8952)
* Fix(route): fix route is empty

* Fix(route): some answer item do not have question.author field

* Fix(route): fix route is empty
2022-02-02 23:12:24 +08:00
cjc7373 96270cd1cc fix(route): zhihu posts pubDate (#8947) 2022-02-02 22:53:56 +08:00
Fatpandac c4f1869625 feat(route): zhihu get all collections (#8943) 2022-02-02 22:42:31 +08:00
Daniel Li (李丹阳)andSukka d77a039f05 style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
auto-bot-tyandauto-bot-ty 5284b7e18d fix(route): add pubDate for 知乎日报 (#7660)
Co-authored-by: auto-bot-ty <auto-bot-ty@git@com>
2021-06-10 12:31:38 -07:00
GitHub Action cd4c872161 style: auto format 2021-03-02 05:19:55 +00:00
kwafok 84def4fe5d fix(route): 知乎 收藏夹 (#7058) 2021-03-02 00:05:44 -05:00
小虎故洞 05ea0aa3ae fix(route): 支持更多的知乎专栏url格式 和 Bug Fix (#7011) 2021-03-01 23:53:23 -05:00
Colin-XKL 72a462de9f fix zhihu collections (#6815) 2021-02-03 21:31:43 -05:00
Sean Chao be66206a88 fix: link and content of zhihu timeline (#6799)
* fix: link and content of zhihu timeline

* fix: insufficient null check in zhihu/timeline
2021-02-03 21:28:40 -05:00
Colin-XKLandcodefactor-io f3e7f55c57 fix: 知乎用户文章 (#6760)
* fix 知乎用户文章

* fix a problem reported by DeepScan

* [CodeFactor] Apply fixes to commit 487521b

[ci skip] [skip ci]

Co-authored-by: codefactor-io <support@codefactor.io>
2021-01-22 18:14:10 -05:00
gin3715 4545de7998 fix: update zhihu activity api url (#6745) 2021-01-21 00:01:04 -05:00
nczitzk 054c4eb14c feat: add zhihu hotlist with categories 2021-01-11 12:30:19 +08:00
Sean Chao 170a6428d1 feat: add zhihu follow timeline (#6560) 2021-01-06 22:53:08 +00:00
notofoe a28aebb0e2 fix: 知乎专栏 pubDate 1970 (#6531) 2020-12-26 05:47:38 +00:00
Laam Pui 4e2b1fa38c fix: /zhihu/zhuanlan undefined title (#6466) 2020-12-18 16:56:35 +00:00
Laam Pui e31ce8cf61 fix: 知乎专栏 issue (#6438) 2020-12-14 11:53:56 +00:00
prnake 2246c5a5e3 fix: zhihu (#5834) 2020-10-09 20:58:14 +01:00
Henry 90e1f80e78 fix: DeepScan issues 2020-08-24 12:53:04 +01:00
AltairandYan 60c611ec82 fix: #4788 rss of zhihu answers not working. (#5483)
Co-authored-by: Yan <zhuyan265@gmail.com>
2020-08-22 21:17:36 +01:00