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 CS2105 video listing: auto-detect PANOPTO_HOST via Playwright and pages scan
PANOPTO_HOST was empty by default, causing Strategy 2 (Panopto folder API) to
call https:///Panopto/... and fail with "No host supplied", leaving only the
pages scan to find videos (6 incomplete results).
Fixes:
- _get_panopto_tab_folder: capture Panopto hostname from any Playwright
request URL (or cookie domain as fallback); set global PANOPTO_HOST and
persist to config.json for future runs
- _find_panopto_in_pages: extract PANOPTO_HOST from embedded Viewer.aspx
URLs in Canvas page bodies when not yet configured
- Move global declarations to function top to satisfy Python 3.11 semantics
Result: CS2105 now finds 11 videos (4 topic clips + 7 live web lectures)
via Strategy 2, vs 6 incomplete page-scan results before.
0 commit comments