How coflyn/scribdl-py works
Scribd Downloader is a CLI tool that captures Scribd documents or embeds as PDFs. Users provide a URL or a file of URLs, optionally configure page ranges and rendering settings, and receive PDFs plus download history. The sampled source shows configuration loading, URL-to-embed construction, Playwright rendering, page selection, image capture, and temporary-directory cleanup; README capabilities fill in batch processing and PDF output. The excerpt omits some orchestration and conversion code, so those links rely on README statements.
Main entry points: main.py Download processor · config.ini Settings
Components 13
CLI and inputs
- CLI workflow
main.py - Batch URLs
main.py - Settings
config.ini - Config loader
main.py
Document capture
- Download processor
main.py - Browser rendering
main.py - Page selection
main.py - Page capture
main.py
Files and records
- Temporary buffers
main.py - PDF output
main.py - Download history
main.py
Other components
- User
- Scribd
Connections 13
- User → CLI workflow: provides options
README.md - CLI workflow → Batch URLs: loads URL list
README.md - CLI workflow → Config loader: loads defaults
main.py - Settings → Config loader: sets defaults
main.py - CLI workflow → Download processor: starts downloads
main.py - Download processor → Scribd: opens embed
main.py - Download processor → Browser rendering: renders document
main.py - Download processor → Page selection: selects pages
main.py - Download processor → Page capture: captures pages
main.py - Page capture → Temporary buffers: writes images
main.py - Temporary buffers → PDF output: converts images
README.md - Download processor → Download history: records result
README.md - CLI workflow → Batch URLs: runs concurrently
README.md