From 30d040b02a17d10682a687cddde845b172781644 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 8 Nov 2018 18:32:47 -0600 Subject: [PATCH] Fix extractor for author thumbnails --- src/invidious/videos.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 25ee2770..eaf2e17a 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -699,7 +699,7 @@ def fetch_video(id, proxies) sub_count_text = "0" end - author_thumbnail = html.xpath_node(%(//img[@alt="#{author}"])) + author_thumbnail = html.xpath_node(%(//span[@class="yt-thumb-clip"]/img)) if author_thumbnail author_thumbnail = author_thumbnail["data-thumb"] else