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:
+42
-3
@@ -1,4 +1,4 @@
|
||||
"""Anime and file hosting providers configuration"""
|
||||
"""Anime, series and file hosting providers configuration"""
|
||||
|
||||
ANIME_PROVIDERS = {
|
||||
"anime-sama": {
|
||||
@@ -28,6 +28,23 @@ ANIME_PROVIDERS = {
|
||||
"url_pattern": "https://vostfree.tv/anime/{slug}",
|
||||
"icon": "📺",
|
||||
"color": "#ffd93d"
|
||||
},
|
||||
"french-manga": {
|
||||
"name": "French-Manga",
|
||||
"domains": ["french-manga.net", "w16.french-manga.net", "w15.french-manga.net", "www.french-manga.net"],
|
||||
"url_pattern": "https://w16.french-manga.net/{slug}.html",
|
||||
"icon": "🇫🇷",
|
||||
"color": "#ff7675"
|
||||
}
|
||||
}
|
||||
|
||||
SERIES_PROVIDERS = {
|
||||
"fs7": {
|
||||
"name": "French Stream",
|
||||
"domains": ["fs7.lol", "www.fs7.lol", "french-stream.tv", "www.french-stream.tv"],
|
||||
"url_pattern": "https://fs7.lol/s-tv/{slug}.html",
|
||||
"icon": "🎬",
|
||||
"color": "#ff6b9d"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,17 +96,39 @@ FILE_HOSTS = {
|
||||
"domains": ["lpayer.embed4me.com", "lpayer.com", "lplayer.fr"],
|
||||
"icon": "▶️",
|
||||
"color": "#e17055"
|
||||
},
|
||||
"vidzy": {
|
||||
"name": "Vidzy",
|
||||
"domains": ["vidzy.com", "vidzy.net", "www.vidzy.com"],
|
||||
"icon": "🎞️",
|
||||
"color": "#74b9ff"
|
||||
},
|
||||
"luluv": {
|
||||
"name": "LuLuvid",
|
||||
"domains": ["luluv.com", "luluvid.com", "www.luluv.com", "www.luluvid.com"],
|
||||
"icon": "🎬",
|
||||
"color": "#a29bfe"
|
||||
},
|
||||
"uqload": {
|
||||
"name": "Uqload",
|
||||
"domains": ["uqload.bz", "uqload.com", "www.uqload.bz", "www.uqload.com"],
|
||||
"icon": "📺",
|
||||
"color": "#fd79a8"
|
||||
}
|
||||
}
|
||||
|
||||
def get_all_providers():
|
||||
"""Get all supported providers (anime + file hosts)"""
|
||||
return {**ANIME_PROVIDERS, **FILE_HOSTS}
|
||||
"""Get all supported providers (anime + series + file hosts)"""
|
||||
return {**ANIME_PROVIDERS, **SERIES_PROVIDERS, **FILE_HOSTS}
|
||||
|
||||
def get_anime_providers():
|
||||
"""Get all anime streaming providers"""
|
||||
return ANIME_PROVIDERS
|
||||
|
||||
def get_series_providers():
|
||||
"""Get all series streaming providers"""
|
||||
return SERIES_PROVIDERS
|
||||
|
||||
def get_file_hosts():
|
||||
"""Get all file hosting providers"""
|
||||
return FILE_HOSTS
|
||||
|
||||
Reference in New Issue
Block a user