aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/MangaGeneric.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/MangaGeneric.cpp b/src/plugins/MangaGeneric.cpp
index 2e88d60..e6fc11d 100644
--- a/src/plugins/MangaGeneric.cpp
+++ b/src/plugins/MangaGeneric.cpp
@@ -381,7 +381,7 @@ namespace QuickMedia {
}
bool MangaGenericChaptersPage::extract_id_from_url(const std::string &url, std::string &manga_id) const {
- size_t start_index = url.find(manga_id_extractor.prefix);
+ size_t start_index = url.rfind(manga_id_extractor.prefix);
if(start_index == std::string::npos)
return false;