binhht

New member
Joined
Dec 8, 2022
Messages
9
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 bro.
 

ablemor

New member
Joined
Feb 10, 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. ***
thanks
 

Augustine1987

New member
Joined
Sep 19, 2021
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. ***
Thanks
 

Awarlow

Active member
Joined
Apr 2, 2023
Messages
33
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. ***
Very nice
 

simxtembox

Member
Joined
Feb 27, 2023
Messages
64
Awards
2
Offline
He editado este script para permitirle seleccionar la calidad del parámetro URL $_GET y también hacer que falle más fácilmente si la transmisión se eliminó de YouTube y ya no se puede encontrar.

Este script se ha modificado mucho. He cambiado lo siguiente.

1) Regex para cada parte del script
2) GET métodos para asegurarse de que estén configurados y, si no, configúrelos como nulos
3) Se agregó una declaración de cambio para la selección de calidad.
4) Se eliminó algún código innecesario con una nueva expresión regular.
5) Hizo que se hiciera eco de un error dependiendo de si no lo hizo
--- Grabar vídeos
--- No encontré una identificación de video
-- -No encontré el m3u en la página

*** Texto oculto: no se puede citar. lindo
 

blacksec

Active member
Joined
Jul 1, 2021
Messages
41
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. ***
Thanks
 

redline121

New member
Joined
Sep 2, 2022
Messages
9
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. ***
 

dk86

New member
Joined
Jun 11, 2021
Messages
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. ***
👏👏
 

skipmack46

New member
Joined
May 15, 2021
Messages
14
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 post, keep up the great work
 
Top