aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-28 20:01:23 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-28 20:01:23 +0200
commit1bfd0bbaa1d464ddb86fb179e6a163dc0f0503cf (patch)
tree4fd8f04987a3386c19004d6165bbced6be2674f9 /src
parentb5c6432fbf3b12d1a65fdfded14c49abb49bc93c (diff)
Mangakatana: use i3 server instead of i1 because its borked
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 57c5489..f7859ef 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -921,6 +921,9 @@ namespace QuickMedia {
std::vector<std::string> urls;
for(const std::string &js_section : extract_javascript_sections(html_source)) {
std::vector<std::string> js_string_array = get_javascript_string_arrays_unique(js_section);
+ for(std::string &str : js_string_array) {
+ string_replace_all(str, "i1.mangakatana", "i3.mangakatana");
+ }
urls.insert(urls.end(), std::move_iterator(js_string_array.begin()), std::move_iterator(js_string_array.end()));
}
return urls;