mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix extractor for author thumbnails
This commit is contained in:
parent
8e6bee75e7
commit
30d040b02a
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ def fetch_video(id, proxies)
|
||||||
sub_count_text = "0"
|
sub_count_text = "0"
|
||||||
end
|
end
|
||||||
|
|
||||||
author_thumbnail = html.xpath_node(%(//img[@alt="#{author}"]))
|
author_thumbnail = html.xpath_node(%(//span[@class="yt-thumb-clip"]/img))
|
||||||
if author_thumbnail
|
if author_thumbnail
|
||||||
author_thumbnail = author_thumbnail["data-thumb"]
|
author_thumbnail = author_thumbnail["data-thumb"]
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue