diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-09 23:41:12 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-09 23:41:12 +0100 |
commit | 2a8a9d56106763339e417d39d0176770124424cd (patch) | |
tree | d908aea3d748223f165abb3566af58cf81939cae /src | |
parent | 27edbfa64410dd12a46ac6a06c856367d431b1d5 (diff) |
Fix mangakatana not working
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index e0568d9..0671349 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -953,7 +953,7 @@ namespace QuickMedia { string_split(urls_str, ',', [&arrays](const char *str, size_t size) { std::string url(str, size); url = strip(url); - if(!url.empty() && (arrays.empty() || arrays.back() != url)) + if(url.find(".com") != std::string::npos && (arrays.empty() || arrays.back() != url)) arrays.push_back(std::move(url)); return true; }); |