diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 3 |
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; |