feat: add Zone-Telechargement provider and automatic TLD verification
- 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:
@@ -24,7 +24,8 @@ from .anime_sites import (
|
||||
from .series_sites import (
|
||||
BaseSeriesSite,
|
||||
get_series_site,
|
||||
FS7Downloader
|
||||
FS7Downloader,
|
||||
ZoneTelechargementDownloader
|
||||
)
|
||||
|
||||
|
||||
@@ -67,6 +68,3 @@ class GenericDownloader(BaseDownloader):
|
||||
# Just return the URL as-is
|
||||
filename = target_filename or url.split('/')[-1] or "download"
|
||||
return url, filename
|
||||
# Just return the URL as-is
|
||||
filename = url.split('/')[-1] or "download"
|
||||
return url, filename
|
||||
|
||||
Reference in New Issue
Block a user