block nfl endpoints (superbowl finished)
This commit is contained in:
doms9 2026-02-09 00:28:55 -05:00
parent 1608018249
commit 00000d9f2b
8 changed files with 13 additions and 10 deletions

View file

@ -72,7 +72,7 @@ async def main() -> None:
asyncio.create_task(streamsgate.scrape(xtrnl_brwsr)), asyncio.create_task(streamsgate.scrape(xtrnl_brwsr)),
asyncio.create_task(totalsportek.scrape(hdl_brwsr)), asyncio.create_task(totalsportek.scrape(hdl_brwsr)),
asyncio.create_task(tvpass.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 = [ httpx_tasks = [

View file

@ -24,7 +24,7 @@ SPORT_ENDPOINTS = {
# "mlb": "MLB", # "mlb": "MLB",
"motorsports": "Racing", "motorsports": "Racing",
"nba": "NBA", "nba": "NBA",
"nfl": "American Football", # "nfl": "American Football",
"nhl": "NHL", "nhl": "NHL",
"soccer": "Soccer", "soccer": "Soccer",
} }

View file

@ -19,8 +19,8 @@ BASE_URL = "https://backend.streamcenter.live/api/Parties"
CATEGORIES = { CATEGORIES = {
4: "Basketball", 4: "Basketball",
9: "Football", 9: "Football",
13: "Baseball", # 13: "Baseball",
14: "American Football", # 14: "American Football",
15: "Motor Sport", 15: "Motor Sport",
16: "Hockey", 16: "Hockey",
17: "Fight MMA", 17: "Fight MMA",

View file

@ -21,7 +21,7 @@ BASE_URL = "https://streamhub.pro/"
CATEGORIES = { CATEGORIES = {
"Soccer": "sport_68c02a4464a38", "Soccer": "sport_68c02a4464a38",
"American Football": "sport_68c02a4465113", # "American Football": "sport_68c02a4465113",
# "Baseball": "sport_68c02a446582f", # "Baseball": "sport_68c02a446582f",
"Basketball": "sport_68c02a4466011", "Basketball": "sport_68c02a4466011",
"Cricket": "sport_68c02a44669f3", "Cricket": "sport_68c02a44669f3",

View file

@ -22,10 +22,10 @@ BASE_URL = "https://streamingon.org"
SPORT_ENDPOINTS = [ SPORT_ENDPOINTS = [
"soccer", "soccer",
"nfl", # "nfl",
"nba", "nba",
"cfb", "cfb",
"mlb", # "mlb",
"nhl", "nhl",
"ufc", "ufc",
"boxing", "boxing",

View file

@ -28,7 +28,7 @@ BASE_MIRRORS = [
] ]
VALID_SPORTS = [ VALID_SPORTS = [
"american-football", # "american-football",
# "australian-football", # "australian-football",
# "baseball", # "baseball",
"basketball", "basketball",

View file

@ -16,7 +16,10 @@ CACHE_FILE = Cache(TAG, exp=10_800)
HTML_CACHE = Cache(f"{TAG}-html", exp=86_400) 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: def fix_event(s: str) -> str:

View file

@ -22,7 +22,7 @@ SPORT_ENDPOINTS = [
# "mlb", # "mlb",
"mma", "mma",
"nba", "nba",
"nfl", # "nfl",
"nhl", "nhl",
"soccer", "soccer",
"wwe", "wwe",