Add Scribd PDF Downloader under Scribd/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
5d2933ea95
28 files changed
+2159
No files matched your search
@@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
title Scribd PDF Downloader
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist ".venv\Scripts\python.exe" (
|
||||
echo Setting up first time — this may take a minute...
|
||||
python -m venv .venv
|
||||
if errorlevel 1 (
|
||||
echo Python not found. Install Python 3.10+ from https://python.org
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
call .venv\Scripts\pip install -r requirements.txt
|
||||
call .venv\Scripts\playwright install chromium
|
||||
)
|
||||
|
||||
".venv\Scripts\pythonw.exe" gui.py
|
||||
if errorlevel 1 (
|
||||
echo GUI failed to start. Trying with console...
|
||||
".venv\Scripts\python.exe" gui.py
|
||||
pause
|
||||
)
|
||||
Reference in new issue
Block a user