Commit Graph
53 Commits
Author SHA1 Message Date
DIYgod 2dce2e32dd feat: docs sorting and auto popular 2025-05-31 17:10:01 +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
DIYgod 83e701b592 feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
Tony 4fa33716c1 docs: remove indent (#18247)
* docs: remove indent

* docs: remove more indent

* docs: remove h5 indent

* docs: remove h4 indent

* docs: remove details indent
2025-01-31 22:17:58 +08:00
Andvari 716c0a3291 feat(route/caixin): Add support for photos channel. Example: https://photos.caixin.com/2024-11-02/102252287.html (#17566)
* feat(route/caixin): Add support for photos channel. Example: https://photos.caixin.com/2024-11-02/102252287.html

* Update utils-fulltext.ts

* .
2024-11-13 22:38:58 +08:00
Andvari c8f182dc4c fix(route/caixin): filter out articles that does not have ID (#17495) 2024-11-07 07:23:21 -08:00
github-actions[bot] 29a1334c18 style: auto format 2024-11-03 10:05:10 +00:00
Andvari 35536f45ad feat(route/caixin): Add full text fetch (#17231)
* feat(route/caixin): Add full text fetch

* .

* Update blog.ts

* Update utils.ts

* Update utils.ts

* Update utils-fulltext.ts

* Update utils-fulltext.ts
2024-11-03 17:03:20 +07:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
pseudoyu 0e7fb35536 feat(route): add more popular traditional news 2024-09-24 21:26:56 +08:00
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