This commit is contained in:
doms9 2025-09-29 13:42:51 -04:00
parent bef684c5db
commit 00000d91f8
4 changed files with 779 additions and 776 deletions

View file

@ -103,10 +103,10 @@ https://fl25.moveonjoy.com/Crime_and_Investigation_Network/index.m3u8
https://fl25.moveonjoy.com/CW_ORLANDO/index.m3u8
#EXTINF:-1 tvg-chno="35" tvg-id="DAZN.1.pt" tvg-name="DAZN 1" tvg-logo="https://1000logos.net/wp-content/uploads/2024/10/DAZN-Logo-500x281.png" group-title="TV",DAZN 1
http://clarotv7.com/live/508373667/k717x9942z/273450.m3u8
http://ndzcdn.royalflushdns.top/live/508373667/k717x9942z/273450.m3u8?sjwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTkxOTAzOTksImlhdCI6MTc1OTEwNDAwMCwibmJmIjoxNzU5MTA0MDAwLCJ1c2VyIjoiNTA4MzczNjY3IiwidXNlckFnZW50IjoiY3VybC84LjE2LjAiLCJ1c2VySXAiOiIxODUuMjM2LjE4My4xMDc6NDE0ODYifQ.Sgqmb6t0sCqjGlp3x1Y1fIPl2MUbpfow2YSrntrqkwc&id=273450&p=m3u8&aid=1759166680
#EXTINF:-1 tvg-chno="36" tvg-id="DAZN.2.pt" tvg-name="DAZN 2" tvg-logo="https://1000logos.net/wp-content/uploads/2024/10/DAZN-Logo-500x281.png" group-title="TV",DAZN 2
http://clarotv7.com/live/508373667/k717x9942z/273451.m3u8
http://ndzcdn.royalflushdns.top/live/508373667/k717x9942z/273451.m3u8?sjwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTkxOTAzOTksImlhdCI6MTc1OTEwNDAwMCwibmJmIjoxNzU5MTA0MDAwLCJ1c2VyIjoiNTA4MzczNjY3IiwidXNlckFnZW50IjoiY3VybC84LjE2LjAiLCJ1c2VySXAiOiIxODUuMjM2LjE4My4xMDc6NDkxNDAifQ.olbMPQH7NaRXUYQXKpeROnHMSNd5gx0ifAmM4u65mko&id=273451&p=m3u8&aid=1759166763
#EXTINF:-1 tvg-chno="37" tvg-id="Discovery.Channel.HD.us2" tvg-name="Discovery Channel" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s11150_dark_360w_270h.png" group-title="TV",Discovery Channel
http://tv14s.xyz:8080/A1Jay5/362586/46720
@ -247,7 +247,7 @@ https://fl25.moveonjoy.com/INVESTIGATION_DISCOVERY/index.m3u8
http://tv14s.xyz:8080/A1Jay5/362586/9297
#EXTINF:-1 tvg-chno="83" tvg-id="DAZN.LALIGA.es" tvg-name="LaLigaTV" tvg-logo="https://1000logos.net/wp-content/uploads/2019/01/Spanish-La-Liga-Logo-500x281.png" group-title="TV",LaLigaTV
https://maldivesn.net/hilaytv/laligatv
http://mains.services/live/pmf0423/1aku0jt@/36097dae-f908-43cf-9bc8-84e8c3bd33b9.m3u
#EXTINF:-1 tvg-chno="84" tvg-id="Lifetime.HD.us2" tvg-name="Lifetime" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s10918_dark_360w_270h.png" group-title="TV",Lifetime
http://fl25.moveonjoy.com/LIFETIME/index.m3u8
@ -322,10 +322,10 @@ https://fl25.moveonjoy.com/PARAMOUNT_NETWORK/index.m3u8
http://tv14s.xyz:8080/A1Jay5/362586/20976
#EXTINF:-1 tvg-chno="108" tvg-id="Premier.Sports.1.HD.uk" tvg-name="Premier Sports 1" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s79027_dark_360w_270h.png" group-title="TV",Premier Sports 1
https://seed.nakachi.online/hls/premiersp1/playlist.m3u8
http://mains.services/live/pmf0423/1aku0jt@/a2de5c34-7664-4983-996d-aef9744e8ea5.m3u
#EXTINF:-1 tvg-chno="109" tvg-id="Premier.Sports.2.HD.uk" tvg-name="Premier Sports 2" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s109162_dark_360w_270h.png" group-title="TV",Premier Sports 2
https://seed.nakachi.online/hls/premiersp2/playlist.m3u8
http://mains.services/live/pmf0423/1aku0jt@/f5453f84-b9c5-4541-aada-319183ca88c8.m3u
#EXTINF:-1 tvg-chno="110" tvg-id="ReelzChannel.HD.us2" tvg-name="Reelz Channel" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s68385_dark_360w_270h.png" group-title="TV",Reelz Channel
http://fl25.moveonjoy.com/REELZ/index.m3u8

View file

@ -139,6 +139,7 @@ async def get_events(
continue
time_text = time_span.text(strip=True)
timestamp = int(time_span.attributes.get("data-time", 31496400))
key = f"[{sport}] {name} (SEAST)"

View file

@ -36,21 +36,18 @@ async def scrape(client: httpx.AsyncClient) -> None:
for i, line in enumerate(data := await fetch_m3u8(client)):
if line.startswith("#EXTINF"):
tvg_id_match = re.search(r'tvg-id="([^"]*)"', line)
tv_name_match = re.search(r'tvg-name="([^"]*)"', line)
tvg_name_match = re.search(r'tvg-name="([^"]*)"', line)
group_title_match = re.search(r'group-title="([^"]*)"', line)
tvg_id = tvg_id_match[1] if tvg_id_match else None
tv_name = tv_name_match[1] if tv_name_match else None
sport = group_title_match[1].upper().strip() if group_title_match else None
tvg = tvg_id_match[1] if tvg_id_match else None
if tvg_id == "":
url = data[i + 1]
if not tvg and (url := data[i + 1]).endswith("/hd"):
if tvg_name := tvg_name_match[1]:
sport = group_title_match[1].upper().strip()
if tv_name:
tv_name = "(".join(tv_name.split("(")[:-1]).strip()
event = "(".join(tvg_name.split("(")[:-1]).strip()
if url.endswith("/hd"):
key = f"[{sport}] {tv_name} (TVP)"
key = f"[{sport}] {event} (TVP)"
channel = url.split("/")[-2]

View file

@ -117,7 +117,12 @@
{
"AFC CHAMPIONS LEAGUE": {
"logo": "https://a.espncdn.com/combiner/i?img=/i/leaguelogos/soccer/500/2200.png&scale=crop&cquality=40&location=origin&w=500&h=500",
"names": ["ACL", "ACL ELITE", "ASIAN CHAMPIONS LEAGUE"]
"names": [
"ACL",
"ACL ELITE",
"AFC CHAMPIONS LEAGUE ELITE",
"ASIAN CHAMPIONS LEAGUE"
]
}
},
{