niceI have edited this script to allow you to select quality from URL $_GET parameter and also make it fail more gracefully if the stream has been removed from youtube and can no longer be found.
This script has been modified a lot i have changed the following
1 ) Regex for every part of the script
2 ) GET methods to make sure they are set & if not set them to null
3 ) Added a switch statement for quality selection
4 ) Removed some unneeded code with new regex
5 ) Made it echo out an error depending on if it failed to
--- Grab videos
--- Didnt find a video id
-- -Didnt find the m3u in page
*** Hidden text: cannot be quoted. ***
tyI have edited this script to allow you to select quality from URL $_GET parameter and also make it fail more gracefully if the stream has been removed from youtube and can no longer be found.
This script has been modified a lot i have changed the following
1 ) Regex for every part of the script
2 ) GET methods to make sure they are set & if not set them to null
3 ) Added a switch statement for quality selection
4 ) Removed some unneeded code with new regex
5 ) Made it echo out an error depending on if it failed to
--- Grab videos
--- Didnt find a video id
-- -Didnt find the m3u in page
*** Hidden text: cannot be quoted. ***
niceI have edited this script to allow you to select quality from URL $_GET parameter and also make it fail more gracefully if the stream has been removed from youtube and can no longer be found.
This script has been modified a lot i have changed the following
1 ) Regex for every part of the script
2 ) GET methods to make sure they are set & if not set them to null
3 ) Added a switch statement for quality selection
4 ) Removed some unneeded code with new regex
5 ) Made it echo out an error depending on if it failed to
--- Grab videos
--- Didnt find a video id
-- -Didnt find the m3u in page
*** Hidden text: cannot be quoted. ***
niceI have edited this script to allow you to select quality from URL $_GET parameter and also make it fail more gracefully if the stream has been removed from youtube and can no longer be found.
This script has been modified a lot i have changed the following
1 ) Regex for every part of the script
2 ) GET methods to make sure they are set & if not set them to null
3 ) Added a switch statement for quality selection
4 ) Removed some unneeded code with new regex
5 ) Made it echo out an error depending on if it failed to
--- Grab videos
--- Didnt find a video id
-- -Didnt find the m3u in page
*** Hidden text: cannot be quoted. ***
tanksEu editei este script para permitir que você selecione a qualidade do parâmetro URL $_GET e também faça com que ele falhe de forma mais suave se o stream tiver sido removido do youtube e não puder mais ser encontrado.
Este script foi modificado muito eu mudei o seguinte
1) Regex para todas as partes do script
2) GET métodos para certificar-se de que eles estão definidos e, se não, defina-os como nulos
3) Adicionada uma instrução switch para seleção de qualidade
4) Removido algum código desnecessário com o novo regex
5) Fez ecoar um erro dependendo se falhou
--- Pegue vídeos
--- Não encontrei um ID de vídeo
-- -Não encontrei o m3u na página
*** Texto oculto: não pode ser citado. ***
graciasHe editado esta secuencia de comandos para permitirle seleccionar la calidad del parámetro URL $_GET y también hacer que falle con más gracia si la transmisión se eliminó de YouTube y ya no se puede encontrar.
Este script ha sido modificado mucho he cambiado lo siguiente
1) Regex para cada parte del script
2) Métodos GET para asegurarse de que estén configurados y, si no, configúrelos en nulo
3) Se agregó una declaración de cambio para la selección de calidad.
4) Se eliminó un código innecesario con una nueva expresión regular
5) Hizo que se reprodujera un error dependiendo de si fallaba
--- Grab videos
--- No encontré una identificación de video
-- -No encontré el m3u en la página
*** Texto oculto: no se puede citar. ***