aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-25 23:47:30 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-25 23:47:30 +0200
commit664b5b97f03258887f9643a8b488b86068c336e7 (patch)
tree043d6f71dd1f05e2ba948281584a8cebfcb54fa2
parentb78c1d5f90ebf567c5099fd895318ad13bb7905a (diff)
Mangadex: skip all chapters that need to be read on an external url (mangaplus, comikey, etc)
-rwxr-xr-xplugins/mangadex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mangadex.py b/plugins/mangadex.py
index 0ade720..9e94881 100755
--- a/plugins/mangadex.py
+++ b/plugins/mangadex.py
@@ -103,8 +103,8 @@ def list_chapters(url, chapter_list_input):
attributes = data["attributes"]
external_url = attributes.get("externalUrl", "")
- if external_url and external_url.find("mangaplus") != -1:
- continue;
+ if external_url:
+ continue
if attributes["translatedLanguage"] != lang:
continue