diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-07-25 23:47:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-07-25 23:47:30 +0200 |
commit | 664b5b97f03258887f9643a8b488b86068c336e7 (patch) | |
tree | 043d6f71dd1f05e2ba948281584a8cebfcb54fa2 /plugins | |
parent | b78c1d5f90ebf567c5099fd895318ad13bb7905a (diff) |
Mangadex: skip all chapters that need to be read on an external url (mangaplus, comikey, etc)
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/mangadex.py | 4 |
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 |