diff --git a/comet/api/core.py b/comet/api/core.py index 8b14cce..9c6c1bb 100644 --- a/comet/api/core.py +++ b/comet/api/core.py @@ -23,7 +23,7 @@ async def health(): indexers = settings.INDEXER_MANAGER_INDEXERS webConfig = { - "indexers": [indexer.replace(" ", "_") for indexer in indexers], + "indexers": [indexer.replace(" ", "_").lower() for indexer in indexers], "languages": [language.replace(" ", "_") for language in RTN.patterns.language_code_mapping.keys()], "resolutions": ["480p", "720p", "1080p", "1440p", "2160p", "2880p", "4320p"] } diff --git a/comet/utils/general.py b/comet/utils/general.py index d83260d..f761f8a 100644 --- a/comet/utils/general.py +++ b/comet/utils/general.py @@ -75,7 +75,7 @@ def configChecking(b64config: str): async def getIndexerManager(session: aiohttp.ClientSession, indexerManagerType: str, indexers: list, query: str): try: - indexers = [indexer.lower().replace("_", " ") for indexer in indexers] + indexers = [indexer.replace("_", " ") for indexer in indexers] timeout = aiohttp.ClientTimeout(total=settings.INDEXER_MANAGER_TIMEOUT) results = []