mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
fix: remove fake config from comet scraper
This commit is contained in:
@@ -11,7 +11,7 @@ class CometScraper(BaseScraper):
|
||||
torrents = []
|
||||
try:
|
||||
async with self.session.get(
|
||||
f"{self.url}/e30=/stream/{request.media_type}/{request.media_id}.json",
|
||||
f"{self.url}/stream/{request.media_type}/{request.media_id}.json",
|
||||
) as response:
|
||||
results = await response.json()
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ async def check_instance(session: aiohttp.ClientSession, url: str) -> InstanceSt
|
||||
|
||||
if manifest_ok:
|
||||
try:
|
||||
async with session.get(f"{url}/e30=/stream/movie/{IMDB_ID}.json") as resp:
|
||||
async with session.get(f"{url}/stream/movie/{IMDB_ID}.json") as resp:
|
||||
if resp.status == 200:
|
||||
data = await resp.json()
|
||||
streams = data.get("streams", [])
|
||||
|
||||
Reference in New Issue
Block a user