mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fix playlist_thumbnail extractor
This commit is contained in:
parent
e6b4e12689
commit
2b94975345
3 changed files with 11 additions and 9 deletions
|
@ -397,8 +397,8 @@ def extract_items(nodeset, ucid = nil, author_name = nil)
|
|||
)
|
||||
end
|
||||
|
||||
playlist_thumbnail = node.xpath_node(%q(.//div/span/img)).try &.["data-thumb"]?
|
||||
playlist_thumbnail ||= node.xpath_node(%q(.//div/span/img)).try &.["src"]
|
||||
playlist_thumbnail = node.xpath_node(%q(.//span/img)).try &.["data-thumb"]?
|
||||
playlist_thumbnail ||= node.xpath_node(%q(.//span/img)).try &.["src"]
|
||||
|
||||
items << SearchPlaylist.new(
|
||||
title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue