atravis77

New member
Joined
Jul 9, 2021
Messages
25
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. ***
TY!
 

dubx99

New member
Joined
Mar 3, 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. ***
is this just for live?
 

dubx99

New member
Joined
Mar 3, 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. ***
does this do only live?
 

jony14

New member
Joined
Oct 31, 2023
Messages
6
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. ***
Thank you
 

Mauro

New member
Joined
Oct 25, 2023
Messages
2
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 com mais eficiência se o stream tiver sido removido do YouTube e não puder mais ser encontrado.

Este script foi muito modificado, mudei o seguinte

1) Regex para cada parte do script
2) Métodos GET para garantir que eles estejam 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 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. ***
legal
 
Top