This commit is contained in:
xRealNeon 2022-01-11 15:00:48 +01:00
parent 19ac3692b8
commit 7e972d9c5b

View file

@ -88,13 +88,12 @@ spawn do
end end
trending = JSON.parse(req.body) trending = JSON.parse(req.body)
trending[0]["videoId"].as_s() trending[0]["videoId"].as_s
api = true api = true
rescue rescue
puts "Cant parse API json" puts "Cant parse API json"
end end
end end
rescue ex rescue ex
stats = nil stats = nil
end end