This commit is contained in:
2025-10-23 19:41:24 +02:00
parent c81a493fb1
commit ffb182e3ba
7 changed files with 180 additions and 643 deletions

View File

@@ -3,16 +3,29 @@
Centralizes user-agent strings, provider lists and common headers so
multiple provider implementations can import a single source of truth.
"""
from enum import Enum
from typing import Dict, List
class ProviderType(str, Enum):
"""Enumeration of supported video providers."""
VOE = "VOE"
DOODSTREAM = "Doodstream"
VIDMOLY = "Vidmoly"
VIDOZA = "Vidoza"
SPEEDFILES = "SpeedFiles"
STREAMTAPE = "Streamtape"
LULUVDO = "Luluvdo"
DEFAULT_PROVIDERS: List[str] = [
"VOE",
"Doodstream",
"Vidmoly",
"Vidoza",
"SpeedFiles",
"Streamtape",
"Luluvdo",
ProviderType.VOE.value,
ProviderType.DOODSTREAM.value,
ProviderType.VIDMOLY.value,
ProviderType.VIDOZA.value,
ProviderType.SPEEDFILES.value,
ProviderType.STREAMTAPE.value,
ProviderType.LULUVDO.value,
]
ANIWORLD_HEADERS: Dict[str, str] = {