mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix typo in video extractor
This commit is contained in:
parent
0321dda1d7
commit
f643175156
1 changed files with 1 additions and 1 deletions
|
@ -1187,7 +1187,7 @@ def fetch_video(id, region)
|
|||
|
||||
title = player_json["videoDetails"]["title"].as_s
|
||||
author = player_json["videoDetails"]["author"]?.try &.as_s || ""
|
||||
ucid = player_json["videoDetails"]["ucid"]?.try &.as_s || ""
|
||||
ucid = player_json["videoDetails"]["channelId"]?.try &.as_s || ""
|
||||
|
||||
views = html.xpath_node(%q(//meta[@itemprop="interactionCount"]))
|
||||
.try &.["content"].to_i64? || 0_i64
|
||||
|
|
Loading…
Reference in a new issue