mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
fix: bye samples
This commit is contained in:
@@ -81,6 +81,9 @@ class AllDebrid:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
filename_parsed = parse(filename)
|
||||
if episode not in filename_parsed.episodes:
|
||||
continue
|
||||
@@ -114,6 +117,9 @@ class AllDebrid:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
files[magnet["hash"]] = {
|
||||
"index": magnet["files"].index(file),
|
||||
"title": filename,
|
||||
|
||||
@@ -69,6 +69,9 @@ class DebridLink:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
filename_parsed = parse(filename)
|
||||
if episode not in filename_parsed.episodes:
|
||||
continue
|
||||
@@ -96,6 +99,9 @@ class DebridLink:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
files[hash] = {
|
||||
"index": torrent_data["files"].index(file),
|
||||
"title": filename,
|
||||
|
||||
@@ -89,6 +89,10 @@ class Premiumize:
|
||||
continue
|
||||
|
||||
filename = filenames[index]
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
filename_parsed = parse(filename)
|
||||
if episode not in filename_parsed.episodes:
|
||||
continue
|
||||
@@ -122,6 +126,10 @@ class Premiumize:
|
||||
continue
|
||||
|
||||
filename = filenames[index]
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
files[hashes[index]] = {
|
||||
"index": 0,
|
||||
"title": filename,
|
||||
|
||||
@@ -75,6 +75,9 @@ class RealDebrid:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
filename_parsed = parse(filename)
|
||||
if episode not in filename_parsed.episodes:
|
||||
continue
|
||||
@@ -105,6 +108,9 @@ class RealDebrid:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
files[hash] = {
|
||||
"index": index,
|
||||
"title": filename,
|
||||
|
||||
@@ -72,6 +72,9 @@ class TorBox:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
filename_parsed = parse(filename)
|
||||
if episode not in filename_parsed.episodes:
|
||||
continue
|
||||
@@ -103,6 +106,9 @@ class TorBox:
|
||||
if not is_video(filename):
|
||||
continue
|
||||
|
||||
if "sample" in filename:
|
||||
continue
|
||||
|
||||
files[torrent["hash"]] = {
|
||||
"index": torrent_files.index(file),
|
||||
"title": filename,
|
||||
|
||||
Reference in New Issue
Block a user