aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Mangadex.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-15 21:38:24 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-15 21:38:24 +0200
commit8d661807e363c973dc6a6d7e6015495e7cc3a2ab (patch)
tree4e39bca0226eae8561dc7e3aceccc5e88776533d /src/plugins/Mangadex.cpp
parentcef36a1f7c90dba57de53de1fa9fd091e304c833 (diff)
Add manga creators page to navigate to others works by the creators
Diffstat (limited to 'src/plugins/Mangadex.cpp')
-rw-r--r--src/plugins/Mangadex.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp
index 4afa89b..705cbc5 100644
--- a/src/plugins/Mangadex.cpp
+++ b/src/plugins/Mangadex.cpp
@@ -197,6 +197,9 @@ namespace QuickMedia {
}
}, &result_items);
+ if(result != 0)
+ goto cleanup;
+
BodyItemImageContext body_item_image_context;
body_item_image_context.body_items = &result_items;
body_item_image_context.index = 0;
@@ -211,6 +214,9 @@ namespace QuickMedia {
}
}, &body_item_image_context);
+ if(result != 0)
+ goto cleanup;
+
body_item_image_context.index = 0;
result = quickmedia_html_find_nodes_xpath(&html_search, "//div[class='pl-1']",
[](QuickMediaHtmlNode *node, void *userdata) {