|
|
@ -35,7 +35,7 @@ module Invidious::Videos
|
|
|
|
# In the future, we could just directly work with the url. This is more of a POC
|
|
|
|
# In the future, we could just directly work with the url. This is more of a POC
|
|
|
|
cues = [] of XML::Node
|
|
|
|
cues = [] of XML::Node
|
|
|
|
tree = XML.parse(timedtext)
|
|
|
|
tree = XML.parse(timedtext)
|
|
|
|
tree = tree.children.first()
|
|
|
|
tree = tree.children.first
|
|
|
|
|
|
|
|
|
|
|
|
tree.children.each do |item|
|
|
|
|
tree.children.each do |item|
|
|
|
|
if item.name == "body"
|
|
|
|
if item.name == "body"
|
|
|
@ -217,6 +217,5 @@ module Invidious::Videos
|
|
|
|
"Yoruba",
|
|
|
|
"Yoruba",
|
|
|
|
"Zulu",
|
|
|
|
"Zulu",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|