Added support for agent header. Added all italian sport channels from DL
This commit is contained in:
@@ -91,11 +91,156 @@
|
||||
},
|
||||
{
|
||||
"id": "18",
|
||||
"name": "Sky Sports F1 - IT",
|
||||
"name": "20 Mediaset - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium857/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "19",
|
||||
"name": "Eurosport 1 - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium878/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "20",
|
||||
"name": "Eurosport 2 - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium879/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "21",
|
||||
"name": "Sky Sport 24 - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium869/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "22",
|
||||
"name": "Sky Sport Arena - IT",
|
||||
"url": "https://ddy6new.iosplayer.ru/ddy6/premium462/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "23",
|
||||
"name": "Sky Sport F1 - IT",
|
||||
"url": "https://nfsnew.iosplayer.ru/nfs/premium577/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/"
|
||||
},
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "24",
|
||||
"name": "Sky Sport Calcio - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium870/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "25",
|
||||
"name": "Sky Sport Calcio 1 (251) - IT",
|
||||
"url": "https://zekonew.iosplayer.ru/zeko/premium871/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "26",
|
||||
"name": "Sky Sport Calcio 2 (252) - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium872/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "27",
|
||||
"name": "Sky Sport Calcio 3 (253) - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium873/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "28",
|
||||
"name": "Sky Sport Calcio 4 (254) - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium874/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "29",
|
||||
"name": "Sky Sport Calcio 5 (255) - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium875/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "30",
|
||||
"name": "Sky Sport Calcio 6 (256) - IT",
|
||||
"url": "https://windnew.iosplayer.ru/wind/premium876/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "31",
|
||||
"name": "Sky Sport Calcio 7 (257) - IT",
|
||||
"url": "https://nfsnew.iosplayer.ru/nfs/premium877/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "32",
|
||||
"name": "Sky Sport Football - IT",
|
||||
"url": "https://dokko1new.iosplayer.ru/dokko1/premium460/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "33",
|
||||
"name": "Sky Sport Golf - IT",
|
||||
"url": "https://ddy6new.iosplayer.ru/ddy6/premium574/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "34",
|
||||
"name": "Sky Sport MotoGP - IT",
|
||||
"url": "https://nfsnew.iosplayer.ru/nfs/premium575/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "35",
|
||||
"name": "Sky Sport Tennis - IT",
|
||||
"url": "https://ddy6new.iosplayer.ru/ddy6/premium576/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "36",
|
||||
"name": "Sky Sport Uno - IT",
|
||||
"url": "https://ddy6new.iosplayer.ru/ddy6/premium461/mono.m3u8",
|
||||
"origin": "https://cookiewebplay.xyz",
|
||||
"referer": "https://cookiewebplay.xyz/",
|
||||
"agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1"
|
||||
},
|
||||
{
|
||||
"id": "100",
|
||||
"name": "TNT 1 Sports - UK",
|
||||
|
||||
@@ -126,6 +126,8 @@ async def stream_channel(channel_id: str, auth: bool = Depends(verify_credential
|
||||
headers['Origin'] = channel['origin']
|
||||
if 'referer' in channel:
|
||||
headers['Referer'] = channel['referer']
|
||||
if 'agent' in channel:
|
||||
headers['User-Agent'] = channel['agent']
|
||||
|
||||
# Get proxy if specified
|
||||
proxy = channel.get('proxy')
|
||||
|
||||
Reference in New Issue
Block a user