aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 29ada07..ae3ac63 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -997,9 +997,9 @@ namespace QuickMedia {
static void add_xhamster_handlers(MediaGenericSearchPage *media_generic_search_page) {
media_generic_search_page->search_handler("https://xhamster.com/search/%s?page=%p", 1)
.text_handler({{"//div[data-role='video-list']//div[class='video-thumb-info']//a", "text", "href", "/videos/"}})
- .thumbnail_handler({{"//div[data-role='video-list']//img", "src", "/thumb-"}})
+ .thumbnail_handler({{"//div[data-role='video-list']//img", "src", "xhcdn"}})
.related_media_text_handler({{"//div[data-role='video-relations']//div[class='video-thumb-info']//a", "text", "href", "/videos/"}})
- .related_media_thumbnail_handler({{"//div[data-role='video-relations']//img", "src", "/thumb-"}});
+ .related_media_thumbnail_handler({{"//div[data-role='video-relations']//img", "src", "xhcdn"}});
}
static void check_youtube_dl_installed(const std::string &plugin_name) {