aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-23 06:18:03 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-23 06:18:03 +0200
commit4fabc85d2a59383c67239c488fb2c717657b5954 (patch)
tree6463ea8083067ea20d469ea7dc3a6c3676bb0ecf
parent85b76ba1c4f789549e7a6e8acc1507ef3938891d (diff)
Fix mangadex api after remote update
-rwxr-xr-xplugins/mangadex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mangadex.py b/plugins/mangadex.py
index 5b7ecd3..ac55db5 100755
--- a/plugins/mangadex.py
+++ b/plugins/mangadex.py
@@ -81,7 +81,7 @@ def list_chapters(url, chapter_list_input):
chapters = []
finished = False
while not finished:
- url = "https://api.mangadex.org/manga/" + manga_id + "/feed?&limit=100&offset=%d&locales[]=%s&order[chapter]=desc" % (i * 100, lang)
+ url = "https://api.mangadex.org/manga/" + manga_id + "/feed?&limit=100&offset=%d&translatedLanguage[]=%s&order[chapter]=desc" % (i * 100, lang)
response = requests.get(url, headers=headers)
response.raise_for_status()