last update
This commit is contained in:
70
README.md
70
README.md
@@ -19,16 +19,29 @@ Een moderne PyQt5 GUI applicatie voor het scrapen van EBoek.info met dual scrapi
|
||||
|
||||
## 🚀 Installatie
|
||||
|
||||
### Windows
|
||||
Dubbelklik op `install_and_run.bat`
|
||||
|
||||
### macOS / Linux
|
||||
### Optie 1: Standalone Executable (Aanbevolen)
|
||||
**Geen Python installatie nodig!**
|
||||
```bash
|
||||
chmod +x install_and_run.sh
|
||||
./install_and_run.sh
|
||||
# Bouw executable (eenmalig)
|
||||
python3 scripts/build_executable.py
|
||||
|
||||
# Distribueer het bestand uit dist/ folder
|
||||
# ~30MB bestand met alles inbegrepen
|
||||
```
|
||||
|
||||
### Handmatig
|
||||
### Optie 2: Python Installatie
|
||||
**Windows:**
|
||||
```cmd
|
||||
scripts/install_and_run.bat
|
||||
```
|
||||
|
||||
**macOS / Linux:**
|
||||
```bash
|
||||
chmod +x scripts/install_and_run.sh
|
||||
./scripts/install_and_run.sh
|
||||
```
|
||||
|
||||
**Handmatig:**
|
||||
```bash
|
||||
pip install selenium urllib3 PyQt5
|
||||
python3 gui_main.py
|
||||
@@ -57,20 +70,30 @@ python3 gui_main.py
|
||||
## 🗂️ Project Structuur
|
||||
|
||||
```
|
||||
├── gui_main.py # GUI applicatie entry point
|
||||
├── install_and_run.bat # Windows installer
|
||||
├── install_and_run.sh # macOS/Linux installer
|
||||
├── README.md # Project documentatie
|
||||
├── requirements.txt # Dependencies
|
||||
├── core/ # Scraping logic
|
||||
│ ├── scraper.py # Dual-mode scraper
|
||||
│ ├── scraper_thread.py # Threading wrapper
|
||||
│ └── credentials.py # Config management
|
||||
├── gui/ # GUI components
|
||||
│ ├── main_window.py # Main interface
|
||||
│ ├── login_dialog.py # Credential input
|
||||
│ └── progress_dialog.py # Progress monitoring
|
||||
├── tests/ # Test scripts
|
||||
└── utils/ # Helper functions
|
||||
├── gui_main.py # GUI applicatie entry point
|
||||
├── scripts/ # Build & install scripts
|
||||
│ ├── build_executable.py # Executable builder (aanbevolen)
|
||||
│ ├── build_exe.bat # Windows build script
|
||||
│ ├── build_exe.sh # macOS/Linux build script
|
||||
│ ├── eboek_scraper.spec # PyInstaller configuration
|
||||
│ ├── install_and_run.bat # Windows installer
|
||||
│ └── install_and_run.sh # macOS/Linux installer
|
||||
├── docs/ # Documentatie
|
||||
│ └── BUILD_GUIDE.md # Executable build guide
|
||||
├── core/ # Scraping logic
|
||||
│ ├── scraper.py # Dual-mode scraper
|
||||
│ ├── scraper_thread.py # Threading wrapper
|
||||
│ └── credentials.py # Config management
|
||||
├── gui/ # GUI components
|
||||
│ ├── main_window.py # Main interface
|
||||
│ ├── login_dialog.py # Credential input
|
||||
│ └── progress_dialog.py # Progress monitoring
|
||||
├── tests/ # Test scripts
|
||||
├── utils/ # Helper functions
|
||||
└── dist/ # Built executables (na build)
|
||||
└── EBoek_Scraper # Standalone executable
|
||||
```
|
||||
|
||||
## 🔧 Troubleshooting
|
||||
@@ -81,9 +104,10 @@ python3 gui_main.py
|
||||
|
||||
## 💡 Tips
|
||||
|
||||
- Begin met 1-2 pagina's om de functionaliteit te testen
|
||||
- Gebruik headless mode voor optimale snelheid
|
||||
- Monitor de voortgang in de progress dialog
|
||||
- **Distributie**: Gebruik executable voor makkelijke delen (geen Python setup nodig)
|
||||
- **Testing**: Begin met 1-2 pagina's om de functionaliteit te testen
|
||||
- **Performance**: Gebruik headless mode voor optimale snelheid
|
||||
- **Monitoring**: Volg de voortgang in de progress dialog met realtime statistieken
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user