mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
feat: remove the need to have a pro torbox acc
This commit is contained in:
@@ -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}")
|
||||
|
||||
@@ -542,8 +542,8 @@
|
||||
<div class="form-item">
|
||||
<sl-select id="debridService" value="debridlink" label="Debrid Service" placeholder="Select debrid service">
|
||||
<sl-option value="debridlink">Debrid-Link</sl-option>
|
||||
<sl-option value="alldebrid">All-Debrid</sl-option>
|
||||
<sl-option value="torbox">TorBox</sl-option>
|
||||
<sl-option value="alldebrid">All-Debrid</sl-option>
|
||||
<sl-option value="premiumize">Premiumize</sl-option>
|
||||
<sl-option value="realdebrid">Real-Debrid</sl-option>
|
||||
</sl-select>
|
||||
|
||||
Reference in New Issue
Block a user