Commit Graph
51 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
Andvari d8efe7b4c3 feat(apnews): Mobile API (#18819)
* feat(apnews): Mobile API

* .

* 更新 mobile-api.ts

* 更新 mobile-api.ts

* .
2025-04-12 03:17:12 +08:00
Andvari 4208e87e24 fix(route/apnews): Add throttle to topics.
(#18106)

* fix(route/apnews): Add throttle to topics.

* Update topics.ts
2025-01-14 00:40:34 +08:00
Andvari 66533f57e8 feat(route/apnews): Enhance live page post extraction. (#17446) 2024-11-06 04:37:29 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
pseudoyu 01c0e1c001 chore: remove apnews topic popular category 2024-10-23 18:22:30 +08:00
Andvari 651f51c4aa fix(route): Correct misuse of fulltext query (#17230)
* Update common.ts

* .
2024-10-22 01:35:40 +08:00
Andvari 939a828b2c feat(route/apnews): Add gtm parsing method & misc refactor (#17203) 2024-10-21 08:15:14 +08:00
Andvari 57b7cc39ac feat(route/apnews): Expand range of application (#16355)
* feat(route/apnews): Expand range of application

* .
2024-10-19 17:50:21 +08:00
pseudoyu a86f8f6470 chore(route): add apnews api tag options 2024-10-09 11:29:32 +07:00
pseudoyu 98b7703e95 fix(route): use apnews api instead of official rss (down now) 2024-10-09 11:17:02 +07:00
Andvari 2783eed12c fix(route/apnews): Prevent fetching fulltext by default to alleviate 403 error. (#16706)
* fix(route/apnews): Prevent fetching fulltext by default to alleviate 403 error.

* .

* .
2024-09-15 01:31:02 +08:00
Andvari 1418f35d7b feat(route/apnews): Enhance parsing when not fetching full text. (#16750) 2024-09-14 23:07:26 +08:00
Andvari 69b58e83b9 feat(route/apnews): Add support for API (#16640)
* feat(route/apnews): Add support for API

* Add limit

* .
2024-09-10 21:56:24 +08:00
Andvari 5a5bce73fc feat(route/apnews): Add support for sitemap (#16447)
* feat(route/apnews): Add support for sitemap

* Update sitemap.ts

* Update sitemap.ts
2024-08-17 23:12:36 +08:00
Andvari d36d2a7021 feat(route/apnews): Enhance support for video pages (#16347)
* feat(route/apnews): Enhance support for video pages

* Update lib/routes/apnews/utils.ts
2024-08-03 09:27:07 +08:00
DIYgod 703e46de70 feat: add view 2024-07-23 15:14:21 +08:00
Andvari b12f3fb21d fix(route/apnews): Tackle occasionally missing keywords in ld-json. (#16096) 2024-07-06 06:27:56 +08:00
DIYgod 2bc803800a feat: update popular category 2024-06-26 19:17:03 +08:00
DIYgod cf1c9c98ff feat: expanded parameters data 2024-06-26 18:11:19 +08:00
Andvari c0638543b7 fix(route/apnews): Remove duplicate (#15966) 2024-06-22 21:51:43 +08:00
Andvari 4cf8b284f2 fix(route/apnews): Fix page (#15808)
* fix(route/apnews): Fix page.

* .
2024-06-04 01:14:04 +08:00
Andvari 331059c183 fix(route/apnews): Adapt to live page. (#15795)
* fix(route/apnews): Adapt to live page.

* .
2024-06-03 23:17:31 +08:00
Andvari 3a512a3500 fix(route): Fix AP news time. (#15731) 2024-05-27 22:17:09 +08:00
Andvari 060ef55f1c fix(route): Ensure the link can be fetched. (#15730) 2024-05-27 21:59:06 +08:00
DIYgod 6ee5d7267b chore: add popular category 2024-05-19 23:00:43 +08:00
Andvari 1bbdbdd095 feat(route/apnews): Extract data from ldjson. (#15555) 2024-05-12 01:45:37 +08:00
Andvari 004a1ca57d fix(route/apnews): typo in code (#15534) 2024-05-10 00:45:14 +08:00
AndvariandTony 1756242662 feat(route/apnews): Support rss parsing. (#15440)
* feat(route/apnews): Support rss parsing.

* Update lib/routes/apnews/topics.ts

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

* Update lib/routes/apnews/rss.ts

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

* Update rss.ts

---------
2024-05-03 21:20:02 +08:00
Andvari db6eb1c96c fix(route/apnews): Refine link selector. (#15131) 2024-04-06 18:54:30 +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 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 8a6c54054a fix(route): apnews without puppeteer (#10006) 2022-06-22 17:59:36 +08:00
ninboy e9eebb1998 Fix AP News article's title (#8086) 2021-11-27 07:31:51 +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
mjysci d2abeb9883 fix(route): AP News (#7035) 2021-03-02 01:58:09 -05:00
NeverBehave 8faccdec06 Revert "feat: add top stories route for Associated Press News" (#6707) 2021-01-15 15:53:21 -05:00
zph b823e5f9e8 Added top stories route for AP 2020-12-30 16:04:10 +08:00
MisteryMonster af0261abff fix: ap-news (#4698) 2020-05-09 12:13:25 +08:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
zoenglinghou 859ba6fdfd feat: Add full article for AP News (#4103) 2020-02-29 20:03:22 +08:00