Commit Graph
43 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
Tony 8a11f0e756 fix(route): caixin weekly (#15364) 2024-04-25 04:57:55 +08:00
karasu a4c1639596 fix(route): caixin (#15209) 2024-04-12 09:06:53 +00:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
Tony 0893debb07 style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +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 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 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 a10bafb263 fix: __dirname 2024-03-04 00:46:26 +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
Tony d10fb2334c fix(route): caixin blog (#11695)
* fix(route): caixin blog

* fix: url
2023-01-26 04:41:36 +08:00
Tony a66cbcf6ee feat(config)!: unsafe domain toggle (#11588) 2023-01-10 11:45:05 +00:00
Toby Tso e0d44f24cc fix: exclude datanews to prevent pubDate error (/caixin/latest) (#8068) 2021-11-27 07:30:58 +00: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
Ethan Shen e571294da9 feat(route): add 财新数据通专享资讯 (#7250) 2021-08-12 01:55:48 -07:00
Preston af5f97904a feat(route): add caixin yxnews 财新一线财经消息 (#7211) 2021-05-25 09:26:08 -04:00
Haodong DUandduhd1993 2a2c371b3e feat: caixin: full text of article route (#6773)
Co-authored-by: duhd1993 <duhd1993@gmail.com>
2021-01-25 15:53:23 -05:00
NeverBehave 2b68e64cbe Revert "feat: add fulltext to the article route of caixin" 2021-01-11 15:01:07 -05:00
duhd1993 e1a3f8c869 caixin: style of article route 2021-01-02 20:36:18 -05:00
duhd1993 df5e015dd7 caixin: do not display fullText when it's not article 2021-01-02 19:52:43 -05:00
duhd1993 c4dd02cae7 caixin: add fulltext to the article route 2021-01-02 19:25:25 -05:00
Toby Tso c10b43bf78 feat: Caixin latest (#6539) 2020-12-28 17:00:42 +00:00
Zuyang Kou eb4efcb389 revert: 回滚财新旧版 API(#5703) 2020-09-25 11:53:52 +01:00
Ethan Shen 18b58d5493 fix: api for caixin article (#5456) 2020-08-22 21:39:40 +01:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
umm233 10f18deed4 fix: make title right (#4374) 2020-04-02 21:02:34 +08:00
hoilc 2c13d144b3 fix: caixin article json (#4126) 2020-03-01 12:29:53 +08:00
EsuRt a424a95d06 feat: 增加财新网首页新闻、中国政府网滚动新闻、中国政府网新闻要闻 (#2533)
* 增加财新网首页新闻、中国政府网滚动新闻、中国政府网新闻要闻

* 增加财新网首页新闻、中国政府网滚动新闻、中国政府网新闻要闻的文档说明

* 整理格式

* 增加国务院信息

* 调整格式

* Remove User-Agent
2019-07-04 16:25:17 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
Xiang Li 633154c778 refactor: 重构 rss-parser 作为工具类 (#2280) 2019-06-02 12:45:52 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
Xiang Li 79f4399617 feat: 增加财新博客全文输出 (#2090)
* feat: 增加财新博客全文输出

同时更改了原财新网的路由

* refactor: 保留旧路由,向下兼容

* fix: tryGet 包含了设置缓存,不需要再次 set

* fix: 使用 config 里的统一 ua 配置

* refactor: 统一使用 cheerio 搜索子节点的方式

* style: fix formatting

* fix: 移除无用参数

* docs: 更新路由
2019-05-09 18:55:48 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00