aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-23 06:16:18 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-23 06:16:18 +0200
commit20567a9bf4d450fb65003c72c6aad6c984076d58 (patch)
tree740a08cdfc9999b7b4af127e3f97fac05a68b939
parenta9219531c2e286f65b3a1d137f61b72987b960b1 (diff)
Fix mangadex api after remote update
-rw-r--r--src/plugins/Mangadex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp
index 3f42297..0143d7f 100644
--- a/src/plugins/Mangadex.cpp
+++ b/src/plugins/Mangadex.cpp
@@ -120,7 +120,7 @@ namespace QuickMedia {
}
static PluginResult get_chapters_for_manga(Page *page, const std::string &manga_id, int page_num, BodyItems &result_items, ChapterImageUrls &chapter_image_urls) {
- std::string request_url = "https://api.mangadex.org/manga/" + manga_id + "/feed?order[chapter]=desc&limit=100&locales[]=en&offset=" + std::to_string(page_num * 100);
+ std::string request_url = "https://api.mangadex.org/manga/" + manga_id + "/feed?order[chapter]=desc&limit=100&translatedLanguage[]=en&offset=" + std::to_string(page_num * 100);
Json::Value json_root;
if(page->download_json(json_root, request_url, {}, true) != DownloadResult::OK)