raza30

Well-known member
Joined
Jan 21, 2022
Messages
19
Awards
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

[REPLY] [/REPLY]
 

FireTVGuru

Well-known member
VIP Member
Joined
Apr 15, 2021
Messages
110
Awards
4
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!
 

HustlenShows

Well-known member
Joined
May 29, 2021
Messages
120
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!
 

craighull

Member
Joined
Apr 9, 2021
Messages
29
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
 

Iptvayr

Member
Joined
Apr 27, 2021
Messages
31
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. ***
Good share m8 thanks
 
Top