diff options
-rw-r--r-- | src/plugins/Saucenao.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/Saucenao.cpp b/src/plugins/Saucenao.cpp index fd752c5..d81e233 100644 --- a/src/plugins/Saucenao.cpp +++ b/src/plugins/Saucenao.cpp @@ -1,4 +1,5 @@ #include "../../plugins/Saucenao.hpp" +#include "../../include/StringUtils.hpp" #include <quickmedia/HtmlSearch.h> namespace QuickMedia { @@ -28,6 +29,7 @@ namespace QuickMedia { size_t p_index = title.find("%"); if(p_index != std::string::npos) title = title.erase(0, p_index + 1); + title = strip(title); auto item = BodyItem::create(title); item_data->push_back(std::move(item)); } |