summaryrefslogtreecommitdiffstats
path: root/src/invidious.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/invidious.cr')
-rw-r--r--src/invidious.cr3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index ae9e0978..3a0c91e1 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -211,9 +211,6 @@ get "/watch" do |env|
player_response = JSON.parse(video.info["player_response"])
- description = video.html.xpath_node(%q(//p[@id="eow-description"]))
- description = description ? description.to_xml : "Could not load description"
-
rating = video.info["avg_rating"].to_f64
engagement = ((video.dislikes.to_f + video.likes.to_f)/video.views * 100)