You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(xiaoyuzhou): migrate from broken SSR scraping to authenticated API (fixes#1023) (#1059)
* fix(xiaoyuzhou): migrate from broken SSR scraping to authenticated API (fixes#1023)
Xiaoyuzhou removed SSR rendering — /podcast/<id> and /episode/<id> pages
now return 404, breaking fetchPageProps() which scraped __NEXT_DATA__.
Migrate podcast, podcast-episodes, episode, and download commands to use
the existing authenticated API client (requestXiaoyuzhouJson) that
transcript.js already uses successfully.
Changes:
- podcast.js: use /v1/podcast/get API endpoint
- podcast-episodes.js: use /v1/podcast/listEpisode API endpoint
- episode.js: use /v1/episode/get API endpoint
- download.js: use /v1/episode/get API endpoint
- utils.js: remove unused fetchPageProps, keep format helpers
- Update all affected tests (download.test.js, utils.test.js)
- Change strategy from PUBLIC to LOCAL (requires credentials)
* fix(xiaoyuzhou): align local strategy contract
* fix(xiaoyuzhou): align local api metadata
---------
Co-authored-by: jackwener <jakevingoo@gmail.com>
87+ adapters in total — **[→ see all supported sites & commands](./docs/adapters/index.md)**
212
212
213
-
`*``opencli xiaoyuzhou transcript`requires local Xiaoyuzhou credentials in `~/.opencli/xiaoyuzhou.json`.
213
+
`*``opencli xiaoyuzhou podcast`, `podcast-episodes`, `episode`, `download`, and `transcript`require local Xiaoyuzhou credentials in `~/.opencli/xiaoyuzhou.json`.
214
214
215
215
## CLI Hub
216
216
@@ -261,7 +261,7 @@ OpenCLI supports downloading images, videos, and articles from supported platfor
261
261
|**douban**| Images | Poster / still image lists |
0 commit comments