diff options
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | plugins/mangadex.py | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -10,4 +10,4 @@ Make downloading manga asynchronous, just like torrents. And have timeout for do Detect if a website is very slow (timeout?) and ignore sync for that website for the current sync. This is to prevent a slow website from preventing all syncs.. Cleanup command should remove torrents from transmission. Remove dirname because it breaks automedia.pid because it modified /proc/.../cmdline. Should also do readlink on the first arg of cmdline (which doesn't work if automedia is in /usr/bin???). Use socket! look at quickmedia. - +Some mangadex chapters redirect to mangaplus. Those should redirect to the mangaplus plugin. Right now they are simply skipped.
\ No newline at end of file diff --git a/plugins/mangadex.py b/plugins/mangadex.py index 1b75097..0ade720 100755 --- a/plugins/mangadex.py +++ b/plugins/mangadex.py @@ -101,6 +101,11 @@ def list_chapters(url, chapter_list_input): for data in data_list: id = data["id"] attributes = data["attributes"] + + external_url = attributes.get("externalUrl", "") + if external_url and external_url.find("mangaplus") != -1: + continue; + if attributes["translatedLanguage"] != lang: continue |