aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Manganelo.cpp2
-rw-r--r--src/plugins/Youtube.cpp4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp
index e6bdfc0..960caaf 100644
--- a/src/plugins/Manganelo.cpp
+++ b/src/plugins/Manganelo.cpp
@@ -200,7 +200,7 @@ namespace QuickMedia {
const char *href = quickmedia_html_node_get_attribute_value(node, "href");
const char *title = quickmedia_html_node_get_attribute_value(node, "title");
if(href && title && strstr(href, "/manga/")) {
- auto body_item = BodyItem::create(title);
+ auto body_item = BodyItem::create(strip(title));
body_item->url = strip(href);
item_data->push_back(std::move(body_item));
}
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index 6149b84..cbe6b81 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -241,10 +241,6 @@ namespace QuickMedia {
if(!desc.empty())
desc += " • ";
desc += video_count.value();
- if(strcmp(video_count.value().c_str(), "1") == 0)
- desc += " video";
- else
- desc += " videos";
}
if(description) {
if(!desc.empty())