mirror of
https://github.com/doms9/iptv.git
synced 2026-03-07 11:18:25 +01:00
e
block nfl endpoints (superbowl finished)
This commit is contained in:
parent
1608018249
commit
00000d9f2b
8 changed files with 13 additions and 10 deletions
|
|
@ -72,7 +72,7 @@ async def main() -> None:
|
|||
asyncio.create_task(streamsgate.scrape(xtrnl_brwsr)),
|
||||
asyncio.create_task(totalsportek.scrape(hdl_brwsr)),
|
||||
asyncio.create_task(tvpass.scrape(hdl_brwsr)),
|
||||
asyncio.create_task(webcast.scrape(hdl_brwsr)),
|
||||
# asyncio.create_task(webcast.scrape(hdl_brwsr)),
|
||||
]
|
||||
|
||||
httpx_tasks = [
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ SPORT_ENDPOINTS = {
|
|||
# "mlb": "MLB",
|
||||
"motorsports": "Racing",
|
||||
"nba": "NBA",
|
||||
"nfl": "American Football",
|
||||
# "nfl": "American Football",
|
||||
"nhl": "NHL",
|
||||
"soccer": "Soccer",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ BASE_URL = "https://backend.streamcenter.live/api/Parties"
|
|||
CATEGORIES = {
|
||||
4: "Basketball",
|
||||
9: "Football",
|
||||
13: "Baseball",
|
||||
14: "American Football",
|
||||
# 13: "Baseball",
|
||||
# 14: "American Football",
|
||||
15: "Motor Sport",
|
||||
16: "Hockey",
|
||||
17: "Fight MMA",
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ BASE_URL = "https://streamhub.pro/"
|
|||
|
||||
CATEGORIES = {
|
||||
"Soccer": "sport_68c02a4464a38",
|
||||
"American Football": "sport_68c02a4465113",
|
||||
# "American Football": "sport_68c02a4465113",
|
||||
# "Baseball": "sport_68c02a446582f",
|
||||
"Basketball": "sport_68c02a4466011",
|
||||
"Cricket": "sport_68c02a44669f3",
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ BASE_URL = "https://streamingon.org"
|
|||
|
||||
SPORT_ENDPOINTS = [
|
||||
"soccer",
|
||||
"nfl",
|
||||
# "nfl",
|
||||
"nba",
|
||||
"cfb",
|
||||
"mlb",
|
||||
# "mlb",
|
||||
"nhl",
|
||||
"ufc",
|
||||
"boxing",
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ BASE_MIRRORS = [
|
|||
]
|
||||
|
||||
VALID_SPORTS = [
|
||||
"american-football",
|
||||
# "american-football",
|
||||
# "australian-football",
|
||||
# "baseball",
|
||||
"basketball",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ CACHE_FILE = Cache(TAG, exp=10_800)
|
|||
|
||||
HTML_CACHE = Cache(f"{TAG}-html", exp=86_400)
|
||||
|
||||
BASE_URLS = {"NFL": "https://nflwebcast.com", "NHL": "https://slapstreams.com"}
|
||||
BASE_URLS = {
|
||||
# "NFL": "https://nflwebcast.com",
|
||||
"NHL": "https://slapstreams.com",
|
||||
}
|
||||
|
||||
|
||||
def fix_event(s: str) -> str:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ SPORT_ENDPOINTS = [
|
|||
# "mlb",
|
||||
"mma",
|
||||
"nba",
|
||||
"nfl",
|
||||
# "nfl",
|
||||
"nhl",
|
||||
"soccer",
|
||||
"wwe",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue