e
This commit is contained in:
parent
853fa98690
commit
00000d9984
3 changed files with 5 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ client = httpx.Client(
|
||||||
|
|
||||||
def fetch_tvg_ids() -> dict[str, str]:
|
def fetch_tvg_ids() -> dict[str, str]:
|
||||||
try:
|
try:
|
||||||
r = client.get("https://spoo.me/mvrlVh")
|
r = client.get("https://s.id/4dqiO")
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise SystemExit(f"Failed to fetch TVG IDs\n{e}") from e
|
raise SystemExit(f"Failed to fetch TVG IDs\n{e}") from e
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import json
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
|
|
@ -7,7 +6,7 @@ from scrape import fstv, tvpass
|
||||||
|
|
||||||
m3u8_file = Path(__file__).parent / "TV.m3u8"
|
m3u8_file = Path(__file__).parent / "TV.m3u8"
|
||||||
|
|
||||||
base_url = "https://spoo.me/yBR2jV"
|
base_url = "https://s.id/ePwXT"
|
||||||
|
|
||||||
client = httpx.Client(
|
client = httpx.Client(
|
||||||
timeout=5,
|
timeout=5,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
base_url="https://spoo.me/yBR2jV"
|
base_url="https://s.id/ePwXT"
|
||||||
UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
|
UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
|
||||||
MAX_JOBS=10
|
MAX_JOBS=10
|
||||||
RETRY_COUNT=3
|
RETRY_COUNT=3
|
||||||
|
|
@ -103,9 +103,9 @@ write_readme() {
|
||||||
|
|
||||||
echo "---"
|
echo "---"
|
||||||
echo "#### M3U8 URL"
|
echo "#### M3U8 URL"
|
||||||
printf "\`\`\`\nhttps://spoo.me/d9M3U8\n\`\`\`\n"
|
printf "\`\`\`\nhttps://s.id/d9M3U8\n\`\`\`\n"
|
||||||
echo "#### EPG URL"
|
echo "#### EPG URL"
|
||||||
printf "\`\`\`\nhttps://spoo.me/d9EPG\n\`\`\`\n"
|
printf "\`\`\`\nhttps://s.id/d9EPG\n\`\`\`\n"
|
||||||
echo "---"
|
echo "---"
|
||||||
echo "#### Legal Disclaimer"
|
echo "#### Legal Disclaimer"
|
||||||
echo "This repository lists publicly accessible IPTV streams as found on the internet at the time of checking."
|
echo "This repository lists publicly accessible IPTV streams as found on the internet at the time of checking."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue