shawn 1a77f1941c t_50a4f551: Fix auth.py bugs + add 27 tests
- Fix _get_anti_forgery_state: parse JSON response (not raw text) to get Token
- Fix _do_login: pass __RequestVerificationToken header, add FormsAuthReturnUrl
- Fix login(): pass anti_forgery token through to _do_login
- Fix AuthSession: store password for refresh, handle NotVerifiedUserEmail
- Add 27 unit tests with respx mocking (all pass)
- Add respx+pytest to requirements.txt
2026-05-21 18:05:03 -04:00
2026-05-21 17:41:24 -04:00
2026-05-21 17:41:24 -04:00

Cantaloupe Downloader

A CLI tool for downloading videos from cantaloupe.tv using browser automation.

Features

  • Automated login via Playwright
  • Video page scraping and metadata extraction
  • Batch download management
  • Excel report generation

Setup

pip install -r requirements.txt
playwright install chromium

Usage

python -m src.cli --help
S
Description
CLI tool for downloading videos from cantaloupe.tv
Readme 75 KiB
Languages
Python 100%