How gumsak/vimeo-scraper works
This is a command-line Vimeo downloader. Its workflow accepts a video or showcase URL (and optional password), selects a single-video or playlist crawl, retrieves media segments, and assembles playable video/audio files in the videos output directory. The README documents public and private downloads; the excerpts show segment retrieval and assembly, but omit some spider callbacks and crawler wiring, so uncertain links are not drawn.
Main entry points: vimeo_scraper.py Scraper entry · segments_decoder.py Segment decoder
Components 14
CLI and crawling
- Scraper entry
src/vimeo_scraper.py - URL classification
src/vimeo_scraper.py - Single-video spider
src/vimeo_scraper.py - Playlist spider
src/vimeo_scraper.py
Media acquisition
- Password and tokens
src/vimeo_scraper.py - Video metadata
src/vimeo_scraper.py - Segment retrieval
src/vimeo_scraper.py - Segment downloads
src/vimeo_scraper.py
Assembly and output
- videos directory
- Media assembly
src/vimeo_scraper.py - Segment decoder
src/segments_decoder.py
Other components
- CLI user
- Vimeo
- FFmpeg
Connections 18
- CLI user → Scraper entry: provides URL
- Scraper entry → URL classification: classifies URL
- Scraper entry → Single-video spider: starts crawl
- Scraper entry → Playlist spider: starts crawl
- Single-video spider → Vimeo: requests pages
- Playlist spider → Vimeo: requests pages
- Single-video spider → Password and tokens: handles password
- Playlist spider → Password and tokens: handles password
- Single-video spider → Video metadata: extracts data
- Playlist spider → Video metadata: extracts data
- Video metadata → Segment retrieval: gets segment URLs
- Segment retrieval → Vimeo: requests segments
- Segment retrieval → Segment downloads: downloads segments
- Segment downloads → videos directory: writes files
- Media assembly → Segment decoder: calls helpers
- Segment decoder → videos directory: reads and writes
- Segment decoder → FFmpeg: encodes media
- Media assembly → videos directory: cleans temporary files