wikwp

New member
Joined
May 21, 2023
Messages
2
Offline
I 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. ***
nice
 

1coolappdad

Well-known member
Joined
May 27, 2021
Messages
141
Awards
3
Offline
I 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. ***
ty
 

nxtl

Member
Joined
May 31, 2022
Messages
21
Awards
1
Offline
I 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. ***
nice
 

phoenixtv

Well-known member
VIP Member
Joined
May 24, 2021
Messages
90
Awards
3
Offline
I 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. ***
nice
 

tiosam21

New member
Joined
Mar 8, 2022
Messages
3
Offline
Eu 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. ***
tanks
 

Jerrycd2

New member
Joined
Apr 2, 2022
Messages
4
Awards
1
Offline
He 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. ***
gracias
 
Top