From 253bfeae4f37595bd59263cde8e1eca26d2fa8e2 Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Sun, 24 Nov 2024 18:22:14 +0100 Subject: [PATCH] feat: remove the need to have a pro torbox acc --- comet/debrid/torbox.py | 2 +- comet/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comet/debrid/torbox.py b/comet/debrid/torbox.py index a701cf8..887c2ff 100644 --- a/comet/debrid/torbox.py +++ b/comet/debrid/torbox.py @@ -22,7 +22,7 @@ class TorBox: f"{self.api_url}/user/me?settings=false" ) check_premium = await check_premium.text() - if '"success":true' in check_premium and '"plan":0' not in check_premium: + if '"success":true' in check_premium: return True except Exception as e: logger.warning(f"Exception while checking premium status on TorBox: {e}") diff --git a/comet/templates/index.html b/comet/templates/index.html index 86c7e77..d427059 100644 --- a/comet/templates/index.html +++ b/comet/templates/index.html @@ -542,8 +542,8 @@
Debrid-Link - All-Debrid TorBox + All-Debrid Premiumize Real-Debrid