mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-23 01:45:41 +00:00
Update channel feed
This commit is contained in:
@@ -33,7 +33,7 @@ def search(query, page = 1, search_params = build_search_params(content_type: "v
|
||||
end
|
||||
|
||||
title = anchor.content.strip
|
||||
id = anchor["href"].lchop("/watch?v=")
|
||||
video_id = anchor["href"].lchop("/watch?v=")
|
||||
|
||||
anchor = node.xpath_node(%q(.//div[contains(@class, "yt-lockup-byline")]/a)).not_nil!
|
||||
author = anchor.content
|
||||
@@ -77,7 +77,7 @@ def search(query, page = 1, search_params = build_search_params(content_type: "v
|
||||
|
||||
video = SearchVideo.new(
|
||||
title,
|
||||
id,
|
||||
video_id,
|
||||
author,
|
||||
ucid,
|
||||
published,
|
||||
|
||||
Reference in New Issue
Block a user