aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2018-01-21 23:16:17 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2018-01-21 23:16:17 -0500
commitcb24bebe5d3fdd42445ab26eb9d7cbb764253868 (patch)
treeca855ec1d16c3287c3f6696c147b14e0c9738408 /tools
parent1b63ea374e56ebed83238f8e27e24ab3febd49a7 (diff)
downloadytlibre-cb24bebe5d3fdd42445ab26eb9d7cbb764253868.tar.lz
ytlibre-cb24bebe5d3fdd42445ab26eb9d7cbb764253868.tar.xz
ytlibre-cb24bebe5d3fdd42445ab26eb9d7cbb764253868.zip
Remueve espacios en blanco
Diffstat (limited to 'tools')
-rw-r--r--tools/init.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/init.php b/tools/init.php
index 65de424..fb8e6bf 100644
--- a/tools/init.php
+++ b/tools/init.php
@@ -46,7 +46,7 @@ function parseStream($stream){
$type = "WEBM";
break;
}
-
+
$libretype = explode(";", $format_info['type']);
$libretype= $libretype[0];
switch ($libretype) {
@@ -54,7 +54,7 @@ function parseStream($stream){
$libretype = "video/webm";
break;
}
-
+
$available_formats[] = [
'itag' => $format_info['itag'],
'quality' => $quality,
@@ -65,7 +65,7 @@ function parseStream($stream){
];
}
-
+
return $available_formats;
}