docs: Update CLAUDE.md with three-tier architecture and new providers
- 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>
This commit is contained in:
@@ -21,6 +21,11 @@ from .anime_sites import (
|
||||
AnimeUltimeDownloader,
|
||||
VostfreeDownloader
|
||||
)
|
||||
from .series_sites import (
|
||||
BaseSeriesSite,
|
||||
get_series_site,
|
||||
FS7Downloader
|
||||
)
|
||||
|
||||
|
||||
def get_downloader(url: str) -> BaseDownloader:
|
||||
@@ -29,6 +34,7 @@ def get_downloader(url: str) -> BaseDownloader:
|
||||
|
||||
This function now uses the organized structure:
|
||||
- Checks anime sites first (for catalogs/search)
|
||||
- Then checks series sites (for catalogs/search)
|
||||
- Then checks video players (for direct download links)
|
||||
- Falls back to generic downloader if no match
|
||||
"""
|
||||
@@ -37,6 +43,11 @@ def get_downloader(url: str) -> BaseDownloader:
|
||||
if anime_site:
|
||||
return anime_site
|
||||
|
||||
# Then try series sites
|
||||
series_site = get_series_site(url)
|
||||
if series_site:
|
||||
return series_site
|
||||
|
||||
# Then try video players
|
||||
video_player = get_video_player(url)
|
||||
if video_player:
|
||||
|
||||
Reference in New Issue
Block a user