mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Remove html from DB
This commit is contained in:
parent
13ef4440d0
commit
7828cd9767
4 changed files with 13 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue