aboutsummaryrefslogtreecommitdiff
path: root/plugins/mangakatana.py
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-09 23:29:58 +0100
committerdec05eba <dec05eba@protonmail.com>2025-03-09 23:29:58 +0100
commitafdf9e2e2616db4036477574095ee0d3a3635063 (patch)
treee65b1dc3bb7c21cab89f8af7798818ffe5edede5 /plugins/mangakatana.py
parent1d7d8494dd0513c6d150b0af458d67347a1b304c (diff)
Fix mangakatana download not workingHEADmaster
Diffstat (limited to 'plugins/mangakatana.py')
-rwxr-xr-xplugins/mangakatana.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mangakatana.py b/plugins/mangakatana.py
index 85fd8d0..586c4ee 100755
--- a/plugins/mangakatana.py
+++ b/plugins/mangakatana.py
@@ -110,7 +110,7 @@ def get_javascript_string_arrays(js_source):
return arrays
arr = js_source[start:end].replace("'", "").split(",")
- arrays.extend(list(filter(None, arr)))
+ arrays.extend(list(filter(lambda x: x is not None and ".com" in x, arr)))
start = end + 1
def uniq_str_arr(arr):