Files
xstreamDownloader/README.md
T

53 lines
2.0 KiB
Markdown
Raw Normal View History

2026-07-06 14:51:17 +02:00
# xStream Downloader
Web-basierter Downloader für Streaming-Seiten. Aus xStream (Kodi Addon) extrahiert und als eigenständiger Python-Server lauffähig gemacht.
## Quick Start
```bash
cd xstreamDownloader
2026-07-07 13:56:09 +02:00
python3 app.py
2026-07-06 14:51:17 +02:00
# → http://localhost:8765
```
## Features
- **18 Streaming-Sites**: AnimeToast, AniWorld, BurningSeries, FilmPalast, HD Filme, KinoGer, KKiste, Megakino, NetzKino, SerienStream, Streamcloud, u.a.
- **Web-Interface**: Sidebar mit Sites, Grid-Ansicht für Filme/Serien, Hoster-Auswahl, Download-Liste
- **Download-Manager**: Parallele Downloads mit Fortschrittsanzeige
- **Site-spezifische Cookies**: AniWorld, FHDFilme, HDFilme
## Architektur
```
xstreamDownloader/
2026-07-07 13:56:09 +02:00
├── app.py # Flask-Server (API + Web-Interface, XBMC-konformer Wrapper)
├── web/index.html # Single-Page Frontend (Vanilla JS)
2026-07-06 14:51:17 +02:00
├── xstream/
2026-07-07 13:56:09 +02:00
│ ├── sites/ # Site-Plugins (eines pro Streaming-Seite)
│ └── resources/lib/ # xStream Core (GUI, Player, Handler)
├── deps/ # Abhängigkeiten (resolveurl, requests, six, kodi_six, pyaes)
├── cookies/ # Session-Cookies für authentifizierte Sites
└── downloads/ # Heruntergeladene Dateien
2026-07-06 14:51:17 +02:00
```
## API Endpoints
| Endpoint | Beschreibung |
|----------|--------------|
| `GET /api/sites` | Liste aller Sites |
| `GET /api/sites/<id>/entries` | Einträge einer Site |
2026-07-07 13:56:09 +02:00
| `GET /api/sites/<id>/search?q=...` | Suche auf einer Site |
| `GET /api/sites/<id>/hosters?url=...` | Hoster für einen Eintrag |
| `GET /api/resolve?url=...` | URL auflösen |
| `POST /api/download?url=...&title=...` | Download starten |
2026-07-06 14:51:17 +02:00
| `GET /api/downloads` | Download-Status |
2026-07-07 13:56:09 +02:00
| `GET /api/downloads/<id>/file` | Download-Datei herunterladen |
2026-07-06 14:51:17 +02:00
## Tech Stack
2026-07-07 13:56:09 +02:00
- **Backend**: Python 3, Flask, Multiprocessing
2026-07-06 14:51:17 +02:00
- **Frontend**: Vanilla JS, CSS Grid
2026-07-07 13:56:09 +02:00
- **Scraping**: xstream Core (aus Kodi Addon extrahiert)
- **XBMC-Wrapper**: Mock-Module für xbmc/xbmcgui/xbmcplugin/xbmcvfs/xbmcaddon