Tony
0ddea9ef86
fix(route): apple apps ( #21824 )
2026-04-24 19:39:30 +08:00
github-actions[bot]
ebfe021b50
style: auto format
2026-04-14 15:15:05 +00:00
LinxHex
f69c416291
feat(apple): add full-text Apple Newsroom route ( #21384 )
...
* feat(apple): add full-text Apple Newsroom route
Add /apple/newsroom for the official Apple Newsroom China feed.
Fetch article pages to provide full-text content with cached detail requests, and normalize article metadata and media URLs.
Remove gallery navigation, download buttons, video playback controls, empty wrapper nodes, and other non-content UI elements from articles.
Format image and video captions as distinct descriptions, and drop duplicate captions when their text matches the article body.
* fix(apple): sanitize dangerous media URLs in newsroom route
* fix(route): refine Apple Newsroom route metadata and request handling
* fix(route): simplify Apple Newsroom description cleanup
2026-03-20 22:18:15 +08:00
Dachein and xbankeradmin
85b5444d07
fix(route/apple/podcast): adapt to new serialized-server-data structure ( #21387 )
...
Apple Podcasts changed the `#serialized-server-data` element from a
direct array to an object wrapper `{ data: [...], userTokenHash }`.
This broke the route with:
TypeError: Cannot read properties of undefined (reading 'data')
Changes:
- Handle both old (array) and new (object with `data` key) formats
using `Array.isArray()` check for backward compatibility
- Add defensive optional chaining on the `channel` relationship
access chain to prevent crashes when episodes lack channel data
Fixes the same underlying issue reported by yt-dlp (yt-dlp/yt-dlp#15926 ).
Made-with: Cursor
Co-authored-by: xbankeradmin <admin@xbanker.ai >
2026-03-16 19:58:24 +08:00
Tony
ba0f1ad292
style(eslint): fix no-unassigned-vars no-useless-assignment preserve-caught-error ( #21175 )
...
* fix: fix no-unassigned-vars
* fix: fix preserve-caught-error
* fix: fix no-useless-assignment
* fix: update variable types for better type safety
* fix: replace nullish coalescing with logical OR for limit assignment
* fix: add DataItem type import for better type safety
2026-02-18 22:25:14 +08:00
Tony
b84bb92a8a
style: replace unicorn/no-for-loop w/ typescript/prefer-for-of ( #20798 )
...
* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of
* style: fix typescript-eslint/prefer-for-of
* style: fix typescript/no-inferrable-types
* style: fix typescript-eslint/consistent-generic-constructors
* style: typescript-eslint/consistent-type-assertions
* style: fix typescript-eslint/array-type
* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
2026-01-02 09:42:24 +08:00
DIYgod
cf4e772de8
refactor: replace art template with jsx ( #20777 )
...
* refactor: replace art template with jsx
* fix: tsx files
* fix: renderToString import
* fix: hono html raw import
* feat: remove art
2025-12-29 12:27:32 +08:00
github-actions[bot]
edfac9f24c
style: auto format
2025-11-27 05:54:33 +00:00
github-actions[bot]
838eb3c7ff
style: auto format
2025-11-27 05:49:33 +00:00
Stephen Zhou
d5e4fba8b2
style: format
2025-11-27 11:04:48 +08:00
github-actions[bot]
a28890a135
style: auto format
2025-11-27 02:55:46 +00:00
Tony
13e7784944
fix(route): apple app store ( #20427 )
2025-11-05 05:11:28 +08:00
Tony
f8da14e119
docs: fix markdown custom containers syntax
2025-09-28 03:34:52 +08:00
Tony
7738a78b97
fix(route/podcast): add fallback channel data ( #20099 )
2025-09-19 05:15:04 +08:00
dependabot[bot]
802cbf95d2
chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 ( #19998 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 60.0.0 to 61.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-version: 61.0.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* refactor: replace `replace(/regex/g)` with replaceAll
* refactor: replace sort() with toSorted() for immutability in various routes and utilities
* refactor: fix unicorn/prefer-array-find
* refactor: fix unicorn/prefer-at
* refactor: add unicorn/no-array-sort rule to ESLint configuration
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 23:03:48 +08:00
Tony
e9038b7c6e
fix(route/apple): fix paid podcast retrieval ( #19937 )
2025-08-31 06:00:31 +08:00
L
b18f792596
fix(route/apple): add guid to items ( #19760 )
...
* fix: add guid to items
* fix: reduce the number of feed items
* Revert "fix: reduce the number of feed items"
2025-08-06 21:01:59 +08:00
L
cc1d43c297
feat(route): add Apple design updates ( #19639 )
...
* feat(route): add Apple design updates
* fix: update example URL in route
* refactor: remove cache
2025-07-19 18:03:29 +08:00
DIYgod
2dce2e32dd
feat: docs sorting and auto popular
2025-05-31 17:10:01 +08:00
Ethan Shen
f18db0877a
feat(route): add Apple Security releases ( #19165 )
...
* feat(route): add Apple Security releases
* fix typo
2025-05-23 00:33:40 +08:00
shunwork
5e91602190
feat(ApplePodcast): remove seoEpisode check because it is removed fro… ( #18838 )
...
* feat(ApplePodcast): remove seoEpisode check because it is removed from source
* fix(ApplePodcast): parse seoEpisodes from new position rather than removing it
2025-04-14 01:55:37 +08:00
Tony
04a3e88448
docs: fix admonitions syntax ( #18018 )
2025-01-01 15:52:40 +08:00
shunwork
35589cab81
feat(route/apple/podcast): add optional region parameter ( #17741 )
...
* feat(route/apple/podcast): add optional region parameter
* fix(route/apple/podcast): fix lint
2024-11-28 22:59:19 +08:00
pseudoyu
0a42f88de7
feat(route): add lang field in route namespace
2024-11-01 22:09:31 +07:00
LandonLi
1524059a5f
fix(route/apple/podcast): Fix broken apple podcast route ( #16953 )
...
* fix(route/apple/podcast): Fix broken apple podcast route
* style(route/apple/podcast): Code style format
2024-09-29 20:00:59 +08:00
Tony
e7bc181ff9
docs: fix namespace url
2024-09-24 23:30:44 +08:00
DIYgod
f3315cdad4
feat: update popular category
2024-07-23 20:28:08 +08:00
Demian
f292c52963
fix(apple/apps): typo ( #15572 )
2024-05-13 15:57:38 +08:00
Acring and 刘圳
d9051070f8
feat(route): add apple podcast route ( #15255 )
...
* feat: add apple podcast route
Signed-off-by: 刘圳 <liu.zhen@xsky.com >
* Update lib/routes/apple/podcast.ts
---------
Signed-off-by: 刘圳 <liu.zhen@xsky.com >
Co-authored-by: 刘圳 <liu.zhen@xsky.com >
2024-04-17 14:57:01 +08:00
Rongrong
ef8b061ea2
chore(routes/*): fix unreachable code ( #15192 )
...
This is a regression introduced in #14718 .
Signed-off-by: Rongrong <i@rong.moe >
2024-04-12 00:19:38 +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
4a0aceb7e3
feat: apple apps and firefox addons title
2024-03-14 23:06:26 +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
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
Fatpandac
77f3e710fa
fix(route): appstore refactor to V2 ( #9177 )
...
* fix(route): appstore refactor to V2
* fix(route): add radar.js
* fix: remove legacy url.resolve
2022-02-25 00:14:13 +08:00
Fatpandac
9cb8d5053c
fix(route): apple/exchange_repair refactor to V2 ( #9176 )
...
* fix(route): apple/exchange_repair refactor to V2
* fix(route): add radar.js
* fix: remove legacy url.resolve use tryGet
2022-02-25 00:00:09 +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
Henry
a0ecf6d684
fix: app store iap price drop
2020-12-12 18:14:32 +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
Henry Wang
ce5601c30c
fix: 内购类型为订阅时没有封面 url 导致报错的问题 ( #3574 )
2019-12-12 11:45:36 +08:00
Henry Wang
d1a3fc7c26
fix: 部份 app 内购空值的问题 ( #3544 )
...
close #3490
2019-12-08 02:39:44 +08:00