Add Scribd PDF Downloader under Scribd/

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michael-A-SloanandCursor committed 2026-05-15 10:44:57 -04:00
commit 5d2933ea95
28 files changed
+2159

No files matched your search

+106
View File
@@ -0,0 +1,106 @@
# Scribd PDF Downloader
Save [Scribd](https://www.scribd.com) documents as PDF files for offline reading. Includes a desktop GUI, command-line tools, and optional standalone builds for Windows and macOS.
![Python](https://img.shields.io/badge/python-3.10%2B-blue)
![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)
---
## Quick start
| How you want to run it | What to do |
|------------------------|------------|
| **Easiest (Windows)** | Double-click `Start Scribd Downloader.bat` |
| **Built app (no Python)** | Run `dist\Scribd PDF Downloader\Scribd PDF Downloader.exe` after [building](BUILD.md) |
| **From source** | Follow [INSTALL.md](INSTALL.md) |
1. Paste a Scribd **document** URL (example below).
2. Click **Load Preview**, then **Download PDF**.
```
https://www.scribd.com/document/1019749989/Form-6-Recloser-Control-Modbus-Protocol-Documentation-Td280014en
```
---
## Features
- **GUI** — URL field, live page preview, progress bar, open PDF / folder
- **Documents** — PDFs, presentations, uploads (most public docs work without login)
- **Ebooks** — Reflowable books (requires Scribd login + subscription)
- **Page ranges** — `all`, `5`, `1-10`, or `1-5, 8`
- **CLI** — Scriptable downloads via `main.py`
- **Standalone builds** — Windows `.exe` and macOS `.app` ([BUILD.md](BUILD.md))
---
## Documentation
| File | Contents |
|------|----------|
| [INSTALL.md](INSTALL.md) | Install Python, venv, dependencies, first run |
| [AIDNA.md](AIDNA.md) | App install, distribution, notes & architecture |
| [BUILD.md](BUILD.md) | Package `.exe` / `.app` with PyInstaller |
---
## Legal notice
Use this tool only for content you have **lawful access** to (your uploads, a valid Scribd subscription, etc.). Respect [Scribd’s Terms of Service](https://support.scribd.com/hc/en-us/articles/210129326-General-Terms-of-Use) and the rights of authors and publishers. The authors of this project are not responsible for misuse.
---
## Command line (summary)
Use the project virtual environment — see [INSTALL.md](INSTALL.md).
```powershell
.\.venv\Scripts\python.exe main.py download "https://www.scribd.com/document/..."
.\.venv\Scripts\python.exe main.py login # books / private docs
.\.venv\Scripts\python.exe main.py status
.\.venv\Scripts\python.exe gui.py # GUI from source
```
| Option | Description |
|--------|-------------|
| `-o, --output` | Output PDF path |
| `-p, --pages` | `all`, `3`, or `1-10` |
| `-d, --delay` | Seconds per page (documents) |
| `-s, --scale` | Screenshot quality `1`–`3` |
---
## Project structure
```
Scribe PDF Downloader/
├── gui.py # Desktop GUI
├── main.py # CLI (download, login, status)
├── Start Scribd Downloader.bat # One-click launcher (Windows)
├── scribd_downloader/ # Core library
├── build/ # PyInstaller specs & build scripts
├── config.ini # Default delay, scale, output
├── INSTALL.md # Setup guide
├── AIDNA.md # Install, distribution & architecture
└── BUILD.md # Build .exe / .app
```
---
## Troubleshooting
| Problem | Fix |
|---------|-----|
| `ModuleNotFoundError: rich` | Use `.venv\Scripts\python.exe`, not system `python` — see [INSTALL.md](INSTALL.md) |
| No pages detected | Document may be private; try `main.py login` |
| Blurry PDF | Increase scale: `-s 2` or `-s 3` |
| Missing pages | Increase delay: `-d 3` |
| Windows SmartScreen | Unsigned build — **More info → Run anyway** |
| Mac blocks app | Right-click → **Open** — see [BUILD.md](BUILD.md) |
---
## License
MIT — use responsibly.