aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-12 17:24:06 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-12 17:24:06 +0200
commit169057193c664f52267b818b2ff8bdcf73f21747 (patch)
tree3df7a7f5fb024c382e85e8529ba51f2f4402c45f /src/plugins
parentc4b5ca023f7f5e6ced71c1dfbb8ee3cf776a6b53 (diff)
Fix manganelo images not loading (cloudflare ddos protection)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Manganelo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp
index 89f882c..a4c8809 100644
--- a/src/plugins/Manganelo.cpp
+++ b/src/plugins/Manganelo.cpp
@@ -125,9 +125,7 @@ namespace QuickMedia {
auto *urls = (std::vector<std::string>*)userdata;
const char *src = quickmedia_html_node_get_attribute_value(node, "src");
if(src) {
- // TODO: If image loads too slow, try switching mirror
std::string image_url = src;
- //string_replace_all(image_url, "s3.mkklcdnv3.com", "bu.mkklcdnbuv1.com");
urls->emplace_back(std::move(image_url));
}
}, &last_chapter_image_urls);