Commit Graph
28 Commits
Author SHA1 Message Date
Tony df320988d0 refactor: replace tiny-async-pool with p-map (#18928)
* refactor: replace tiny-async-pool with p-map

* fix: use original concurrency
2025-04-23 21:02:10 +08:00
Tony 7c2ea3702d fix(route): zaker (#17974)
* fix(route): zaker

* refactor(zaker/utils): update API URLs
2024-12-25 11:09:59 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07: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 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
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
Tony f2a2d11268 fix(route): zaker wrong link (#8776) 2022-01-22 20:24:12 +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
Queensferry 65e74a1c5e chore(utils): parse-date supports relative time & fix routes (#7530) 2021-05-14 23:08:33 -04:00
Jankin Wei 59efe27e14 feat: filter out unnecessary items (zaker & futunn) (#6387) 2020-12-09 22:21:35 +00:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
AlexdanerZe 1578536ba1 feat: 新增 Zaker 精读新闻 (#4306) 2020-03-24 11:01:59 +08:00
Cloud 08c0943d9c fix: zaker (#3042) 2019-09-11 14:21:08 +08:00
DIYgod a34b9ae542 feat: remove addNoReferrer 2019-08-28 14:33:05 +08:00
Henry Wang d09affa703 feat: add addNoReferrer in common-utils (#2571)
* fix: no-referrer tag

* chore: merge qdaily routes

* feat: add addNoReferrer in common-utils

This adds no-referrer attribute to images.
Parameters:

- add no-referrer attribute to images
- $: cheerio selector
- source: source selector, string
- target: target attribute name, typically for lazyload imgs, string
- srcPrefix: prefix for src, string
- removeAttr: attributes to remove, array: ['attrA','attrB']

* test: add test case

* doc: update
2019-07-08 11:45:02 +08:00
Cloud cf031c296d fix: zaker some url 302 (#2559) 2019-07-05 11:11:26 +08:00
Cloud 062e6bce81 feat: add zaker channel (#2550)
* feat: add zaker channel

* feat: add zaker channel

* feat: add zaker channel
2019-07-04 16:28:26 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod a0333fbd7e feat: use contentExpire 2019-05-09 01:23:29 +08:00
Chenyang Shi a9e9ca0b19 add zaker (#1869) 2019-04-08 11:29:11 +08:00