4d280b5239
- Added new video players: Vidzy, LuLuvid, Uqload - Added new anime site: French-Manga - Added new series sites category with FS7 - Updated documentation to reflect three-tier architecture (anime sites → series sites → video players) - Added BaseSeriesSite interface documentation - Added "Adding New Series Site" section - Updated test organization with test_french_manga.py Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
24 lines
542 B
Python
24 lines
542 B
Python
"""Series streaming sites (catalogs) downloaders"""
|
|
from .base import BaseSeriesSite
|
|
# Import all series site downloaders
|
|
from .fs7 import FS7Downloader
|
|
|
|
__all__ = [
|
|
"BaseSeriesSite",
|
|
"FS7Downloader",
|
|
]
|
|
|
|
|
|
def get_series_site(url: str) -> BaseSeriesSite:
|
|
"""Factory function to get the appropriate series site for a URL"""
|
|
sites = [
|
|
FS7Downloader(),
|
|
]
|
|
|
|
for site in sites:
|
|
if site.can_handle(url):
|
|
return site
|
|
|
|
# Return None if no match (should not happen in normal flow)
|
|
return None
|