feat(xiaoe): add 小鹅通 (Xiaoe-tech) student platform adapter#617
Open
yulin7645 wants to merge 1 commit intojackwener:mainfrom
Open
feat(xiaoe): add 小鹅通 (Xiaoe-tech) student platform adapter#617yulin7645 wants to merge 1 commit intojackwener:mainfrom
yulin7645 wants to merge 1 commit intojackwener:mainfrom
Conversation
Add 5 YAML adapters for 小鹅通 (xiaoe-tech.com), the leading Chinese online education platform: - courses: list purchased courses with URLs and shop names - detail: course info (name, price, user count, shop) - catalog: full course outline supporting normal courses (type 50), columns (type 6), and big columns (type 8) - play-url: get M3U8 play URL via direct API for video courses, and Vue component tree search + Performance API polling for live replay courses - content: extract rich-text page content as plain text Technical notes: - Strategy: cookie (reuses Chrome login session) - Framework: Vue 2 + Vuex Store (SPA) - Video courses use a two-step API chain: detail_info.get → play_sign → getPlayUrl → M3U8 - Live replays use Performance API + Vue data tree polling - Catalog expands chapters via Vue component method getSecitonList() - Supports multiple stores (cross-domain cookie sharing via study.xiaoe-tech.com) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
detail_info.get→getPlayUrl), bypassing browser rendering (~1s vs ~15s)Commands
coursesdetail <url>catalog <url>play-url <url>content <url>Technical Details
cookie— reuses Chrome login session via Vuex Store data extraction*.h5.xet.citv.cndomains)v_prefix): Two-step API →play_signfromdetail_info→getPlayUrlreturns M3U8. Sub-second latency.l_prefix): M3U8 obtained viaperformance.getEntriesByType('resource')+ Vue component tree deep search with 500ms pollinggetSecitonList()methodTest Plan
opencli validate xiaoe— PASS (0 errors, 0 warnings)courses— returns 16 purchased courses with correct URLsdetail— returns course name, price, user countcatalogon normal course (type 50) — 34 lessons across 7 chapterscatalogon big column (type 8) — 8 sub-columnscatalogon sub-column (type 6) — 5 video lessonsplay-urlon video course —method=api_direct, M3U8 obtainedplay-urlon live replay —method=perf_api, M3U8 obtained🤖 Generated with Claude Code