mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-06 01:37:19 -08:00
fix: rearrange servers available
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from .allanime.constants import SERVERS_AVAILABLE as ALLANIME_SERVERS
|
||||
from .animepahe.constants import SERVERS_AVAILABLE as ANIMEPAHESERVERS
|
||||
from .aniwatch.constants import SERVERS_AVAILABLE as ANIWATCHSERVERS
|
||||
from .allanime import SERVERS_AVAILABLE as ALLANIME_SERVERS
|
||||
from .animepahe import SERVERS_AVAILABLE as ANIMEPAHESERVERS
|
||||
from .aniwatch import SERVERS_AVAILABLE as ANIWATCHSERVERS
|
||||
|
||||
anime_sources = {
|
||||
"allanime": "api.AllAnimeAPI",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
SERVERS_AVAILABLE = ["sharepoint", "dropbox", "gogoanime", "weTransfer", "wixmp", "Yt"]
|
||||
|
||||
@@ -4,4 +4,3 @@ ALLANIME_BASE = "allanime.day"
|
||||
ALLANIME_REFERER = "https://allanime.to/"
|
||||
ALLANIME_API_ENDPOINT = "https://api.{}/api/".format(ALLANIME_BASE)
|
||||
USER_AGENT = random_user_agent()
|
||||
SERVERS_AVAILABLE = ["sharepoint", "dropbox", "gogoanime", "weTransfer", "wixmp", "Yt"]
|
||||
|
||||
1
fastanime/libs/anime_provider/animepahe/__init__.py
Normal file
1
fastanime/libs/anime_provider/animepahe/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
SERVERS_AVAILABLE = ["kwik"]
|
||||
@@ -1,6 +1,5 @@
|
||||
from yt_dlp.utils.networking import random_user_agent
|
||||
|
||||
SERVERS_AVAILABLE = ["kwik"]
|
||||
USER_AGENT = random_user_agent()
|
||||
ANIMEPAHE = "animepahe.ru"
|
||||
ANIMEPAHE_BASE = f"https://{ANIMEPAHE}"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
SERVERS_AVAILABLE = ["HD1", "HD2", "StreamSB", "StreamTape"]
|
||||
|
||||
@@ -12,7 +12,7 @@ from ..base_provider import AnimeProvider
|
||||
from ..common import fetch_anime_info_from_bal
|
||||
from ..mini_anilist import search_for_anime_with_anilist
|
||||
from ..utils import give_random_quality
|
||||
from .constants import SERVERS_AVAILABLE
|
||||
from . import SERVERS_AVAILABLE
|
||||
from .types import AniWatchStream
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
SERVERS_AVAILABLE = ["HD1", "HD2", "StreamSB", "StreamTape"]
|
||||
|
||||
Reference in New Issue
Block a user