summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDUO Labs <dvdugo333@gmail.com>2023-01-16 18:50:38 -0500
committerGitHub <noreply@github.com>2023-01-16 18:50:38 -0500
commit67ace4fd9dd1a62ab004b05dc0403cc71ef5e206 (patch)
tree7a545cbb7a30461bb498f36a280cfb3824c19af7
parent4b2d9420247ab83b2690a331c727e0227b5b7a19 (diff)
downloadinvidious-67ace4fd9dd1a62ab004b05dc0403cc71ef5e206.tar.gz
invidious-67ace4fd9dd1a62ab004b05dc0403cc71ef5e206.tar.bz2
invidious-67ace4fd9dd1a62ab004b05dc0403cc71ef5e206.zip
Some indention changes
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
-rw-r--r--src/invidious/routes/api/v1/videos.cr22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/invidious/routes/api/v1/videos.cr b/src/invidious/routes/api/v1/videos.cr
index b10a30ea..4ef877e5 100644
--- a/src/invidious/routes/api/v1/videos.cr
+++ b/src/invidious/routes/api/v1/videos.cr
@@ -98,12 +98,12 @@ module Invidious::Routes::API::V1::Videos
webvtt = String.build do |str|
str << <<-END_VTT
- WEBVTT
- Kind: captions
- Language: #{tlang || caption.language_code}
-
-
- END_VTT
+ WEBVTT
+ Kind: captions
+ Language: #{tlang || caption.language_code}
+
+
+ END_VTT
caption_nodes = caption_xml.xpath_nodes("//transcript/text")
caption_nodes.each_with_index do |node, i|
@@ -128,11 +128,11 @@ module Invidious::Routes::API::V1::Videos
end
str << <<-END_CUE
- #{start_time} --> #{end_time}
- #{text}
-
-
- END_CUE
+ #{start_time} --> #{end_time}
+ #{text}
+
+
+ END_CUE
end
end
end