MatthewStreamz

Member
VIP Member
Joined
Jun 26, 2021
Messages
31
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

*** Hidden text: cannot be quoted. ***
Nice
 

huosam4

New member
Joined
Jun 24, 2023
Messages
2
Offline
لقد قمت بتحرير هذا البرنامج النصي للسماح لك بتحديد الجودة من معلمة URL $_GET وأيضًا جعله يفشل بشكل أكثر أمانًا إذا تمت إزالة الدفق من youtube ولم يعد من الممكن العثور عليه.

تم تعديل هذا البرنامج النصي كثيرًا وقمت بتغيير ما يلي

1) التعبير العادي لكل جزء من البرنامج النصي
2) احصل على الطرق للتأكد من ضبطها وإذا لم يتم ضبطها على قيمة خالية
3) تمت إضافة بيان التبديل لاختيار الجودة
4) تمت إزالة بعض التعليمات البرمجية غير الضرورية باستخدام التعبير العادي الجديد
5) جعله يردد خطأً اعتمادًا على ما إذا كان قد فشل في ذلك
--- احصل على مقاطع الفيديو
--- لم يتم العثور على معرف الفيديو
-- -لم أجد m3u في الصفحة

*** النص المخفي: لا يمكن اقتباسه. ***
 

Danram79

New member
Joined
Jan 3, 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. ***
Nice bro
 

mytvon

New member
Joined
Jul 29, 2021
Messages
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. ***
Thanks!
 

blacksec

Active member
Joined
Jul 1, 2021
Messages
41
Awards
3
Offline
I changed the script for your use specific channels not based on search.

example:

The process is the same upload the file master.php

FOR XUI USERS: /home/xui/www
FOR XTREAMUI USERS: /home/xtreamcodes/iptv_xtream_codes/wwwdir

and use the URL like this: http://yourserverip: port/master.php?channel=@todonoticias&quality=95

Enjoy!



Credits: mrsat.1572 and raza30

 
Last edited:

azeem

New member
Joined
Oct 17, 2023
Messages
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. ***
very bad idea that write reply for view, result is 11 useless pages of reply.. sorry if you feel bad
 

nienna6

New member
Joined
May 30, 2023
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. ***
good
 

aboagye12

New member
Joined
Oct 19, 2023
Messages
8
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
 

playero

New member
Joined
Nov 12, 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.

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
 

10/4streamzcho

New member
Joined
Jul 29, 2021
Messages
26
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. ***
Niceeeee 👍🏾
 
Top