We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49cd90b commit f9c0ec0Copy full SHA for f9c0ec0
comet/debrid/debridlink.py
@@ -33,7 +33,7 @@ async def get_instant(self, chunk: list):
33
for hash in chunk:
34
try:
35
add_torrent = await self.session.post(
36
- "https://debrid-link.com/api/v2/seedbox/add",
+ f"{self.api_url}/seedbox/add",
37
data={"url": hash, "wait": True, "async": True},
38
)
39
add_torrent = await add_torrent.json()
@@ -42,10 +42,7 @@ async def get_instant(self, chunk: list):
42
await self.session.delete(f"{self.api_url}/seedbox/{torrent_id}/remove")
43
44
responses.append(add_torrent)
45
- except Exception as e:
46
- logger.warning(
47
- f"Exception while checking cached status on DebridLink for {hash}: {e}"
48
- )
+ except:
49
pass
50
51
return responses
0 commit comments