1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-04-11 21:49:15 +05:30

Fix typo in video extractor

This commit is contained in:
Omar Roth 2019-07-30 10:12:41 -05:00
parent 0321dda1d7
commit f643175156
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -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