feat: add Zone-Telechargement provider and automatic TLD verification
CI / Test (Python 3.11) (push) Has been cancelled
CI / Test (Python 3.12) (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Type Check (push) Has been cancelled
CI / Summary (push) Has been cancelled

- Implemented DomainManager in app/utils.py for TLD rotation and caching.
- Created ZoneTelechargementDownloader in app/downloaders/series_sites/zonetelechargement.py.
- Integrated Zone-Telechargement into series search and provider list.
- Updated .gitignore to exclude domain_cache.json.
This commit is contained in:
root
2026-03-26 13:01:50 +00:00
parent b6f12b2162
commit 3b405f2a42
7 changed files with 331 additions and 6 deletions
+6 -2
View File
@@ -18,6 +18,7 @@ from app.downloaders import (
AnimeUltimeDownloader,
NekoSamaDownloader,
VostfreeDownloader,
ZoneTelechargementDownloader,
get_downloader,
)
from app.models import DownloadRequest
@@ -186,12 +187,15 @@ async def search_series_unified(
Returns HTML for HTMX requests or if html=True parameter is set.
"""
import asyncio
from app.downloaders.series_sites import FS7Downloader
from app.downloaders.series_sites import FS7Downloader, ZoneTelechargementDownloader
print(f"\n[SERIES SEARCH] Starting search for '{q}' in {lang}. html={html}")
start_time = time.time()
results = {}
series_downloaders = {"fs7": FS7Downloader()}
series_downloaders = {
"fs7": FS7Downloader(),
"zonetelechargement": ZoneTelechargementDownloader()
}
search_tasks = []
provider_ids = []