From 00000d95b36dd4190fb99c2efeaaa68b9d7a80eb Mon Sep 17 00:00:00 2001 From: doms9 <96013514+doms9@users.noreply.github.com> Date: Tue, 16 Dec 2025 02:30:44 -0500 Subject: [PATCH] e --- M3U8/fetch.py | 2 +- M3U8/scrapers/fawa.py | 2 +- M3U8/scrapers/lotus.py | 4 ++-- M3U8/scrapers/pixel.py | 2 +- M3U8/scrapers/ppv.py | 4 ++-- M3U8/scrapers/roxie.py | 4 ++-- M3U8/scrapers/shark.py | 4 ++-- M3U8/scrapers/sport9.py | 2 +- M3U8/scrapers/streambtw.py | 2 +- M3U8/scrapers/streamcenter.py | 4 ++-- M3U8/scrapers/streamfree.py | 2 +- M3U8/scrapers/streamhub.py | 4 ++-- M3U8/scrapers/streamsgate.py | 4 ++-- M3U8/scrapers/strmd.py | 4 ++-- M3U8/scrapers/timstreams.py | 2 +- M3U8/scrapers/tvpass.py | 2 +- M3U8/scrapers/watchfooty.py | 4 ++-- M3U8/scrapers/webcast.py | 4 ++-- 18 files changed, 28 insertions(+), 28 deletions(-) diff --git a/M3U8/fetch.py b/M3U8/fetch.py index 266be75..849d0e9 100644 --- a/M3U8/fetch.py +++ b/M3U8/fetch.py @@ -62,7 +62,7 @@ async def main() -> None: asyncio.create_task(streamhub.scrape(network.client)), asyncio.create_task(streamsgate.scrape(network.client)), asyncio.create_task(strmd.scrape(network.client)), - asyncio.create_task(timstreams.scrape(network.client)), + # asyncio.create_task(timstreams.scrape(network.client)), asyncio.create_task(tvpass.scrape(network.client)), asyncio.create_task(watchfooty.scrape(network.client)), asyncio.create_task(webcast.scrape(network.client)), diff --git a/M3U8/scrapers/fawa.py b/M3U8/scrapers/fawa.py index 9623388..83db6b8 100644 --- a/M3U8/scrapers/fawa.py +++ b/M3U8/scrapers/fawa.py @@ -13,7 +13,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "FAWA" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) BASE_URL = "http://www.fawanews.sc/" diff --git a/M3U8/scrapers/lotus.py b/M3U8/scrapers/lotus.py index 5699d45..831d674 100644 --- a/M3U8/scrapers/lotus.py +++ b/M3U8/scrapers/lotus.py @@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "LOTUS" -CACHE_FILE = Cache(f"{TAG}.json", exp=5_400) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=5_400) -API_CACHE = Cache(f"{TAG}-api.json", exp=28_800) +API_CACHE = Cache(f"{TAG.lower()}-api.json", exp=28_800) BASE_URL = "https://lotusgamehd.xyz/api-event.php" diff --git a/M3U8/scrapers/pixel.py b/M3U8/scrapers/pixel.py index 5347cd4..3933435 100644 --- a/M3U8/scrapers/pixel.py +++ b/M3U8/scrapers/pixel.py @@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "PIXEL" -CACHE_FILE = Cache(f"{TAG}.json", exp=19_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=19_800) BASE_URL = "https://pixelsport.tv/backend/livetv/events" diff --git a/M3U8/scrapers/ppv.py b/M3U8/scrapers/ppv.py index c399cf9..8d020c6 100644 --- a/M3U8/scrapers/ppv.py +++ b/M3U8/scrapers/ppv.py @@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "PPV" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -API_FILE = Cache(f"{TAG}-api.json", exp=19_800) +API_FILE = Cache(f"{TAG.lower()}-api.json", exp=19_800) API_MIRRORS = [ "https://old.ppv.to/api/streams", diff --git a/M3U8/scrapers/roxie.py b/M3U8/scrapers/roxie.py index 721d327..b7d17ac 100644 --- a/M3U8/scrapers/roxie.py +++ b/M3U8/scrapers/roxie.py @@ -14,9 +14,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "ROXIE" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -HTML_CACHE = Cache(f"{TAG}-html.json", exp=19_800) +HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=19_800) BASE_URL = "https://roxiestreams.live" diff --git a/M3U8/scrapers/shark.py b/M3U8/scrapers/shark.py index fbbc350..db8807a 100644 --- a/M3U8/scrapers/shark.py +++ b/M3U8/scrapers/shark.py @@ -12,9 +12,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "SHARK" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -HTML_CACHE = Cache(f"{TAG}-html.json", exp=19_800) +HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=19_800) BASE_URL = "https://sharkstreams.net" diff --git a/M3U8/scrapers/sport9.py b/M3U8/scrapers/sport9.py index 285f626..8347da3 100644 --- a/M3U8/scrapers/sport9.py +++ b/M3U8/scrapers/sport9.py @@ -14,7 +14,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "SPORT9" -CACHE_FILE = Cache(f"{TAG}.json", exp=3_600) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=3_600) BASE_URL = "https://sport9.ru" diff --git a/M3U8/scrapers/streambtw.py b/M3U8/scrapers/streambtw.py index 0e144b0..75e653b 100644 --- a/M3U8/scrapers/streambtw.py +++ b/M3U8/scrapers/streambtw.py @@ -14,7 +14,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "STRMBTW" -CACHE_FILE = Cache(f"{TAG}.json", exp=3_600) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=3_600) BASE_URL = "https://streambtw.com" diff --git a/M3U8/scrapers/streamcenter.py b/M3U8/scrapers/streamcenter.py index 5b570a3..b9e5200 100644 --- a/M3U8/scrapers/streamcenter.py +++ b/M3U8/scrapers/streamcenter.py @@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "STRMCNTR" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -API_FILE = Cache(f"{TAG}-api.json", exp=28_800) +API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) BASE_URL = "https://backendstreamcenter.youshop.pro:488/api/Parties" diff --git a/M3U8/scrapers/streamfree.py b/M3U8/scrapers/streamfree.py index 4e65602..2a1ba2f 100644 --- a/M3U8/scrapers/streamfree.py +++ b/M3U8/scrapers/streamfree.py @@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "STRMFREE" -CACHE_FILE = Cache(f"{TAG}.json", exp=19_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=19_800) BASE_URL = "https://streamfree.to/" diff --git a/M3U8/scrapers/streamhub.py b/M3U8/scrapers/streamhub.py index c21a195..cd0a827 100644 --- a/M3U8/scrapers/streamhub.py +++ b/M3U8/scrapers/streamhub.py @@ -14,9 +14,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "STRMHUB" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -HTML_CACHE = Cache(f"{TAG}-html.json", exp=28_800) +HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=28_800) BASE_URL = "https://streamhub.pro/" diff --git a/M3U8/scrapers/streamsgate.py b/M3U8/scrapers/streamsgate.py index fc2e689..f35bfeb 100644 --- a/M3U8/scrapers/streamsgate.py +++ b/M3U8/scrapers/streamsgate.py @@ -15,9 +15,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "STRMSGATE" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -API_FILE = Cache(f"{TAG}-api.json", exp=28_800) +API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) BASE_URL = "https://streamingon.org" diff --git a/M3U8/scrapers/strmd.py b/M3U8/scrapers/strmd.py index b06bf60..6fc6645 100644 --- a/M3U8/scrapers/strmd.py +++ b/M3U8/scrapers/strmd.py @@ -14,9 +14,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "STRMD" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -API_FILE = Cache(f"{TAG}-api.json", exp=28_800) +API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) MIRRORS = [ "https://streami.su", diff --git a/M3U8/scrapers/timstreams.py b/M3U8/scrapers/timstreams.py index 8881840..1a93ce1 100644 --- a/M3U8/scrapers/timstreams.py +++ b/M3U8/scrapers/timstreams.py @@ -12,7 +12,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "TIM" -CACHE_FILE = Cache(f"{TAG}.json", exp=3_600) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=3_600) API_URL = "https://api.timstreams.site/main" diff --git a/M3U8/scrapers/tvpass.py b/M3U8/scrapers/tvpass.py index 744ed1b..2fb9b32 100644 --- a/M3U8/scrapers/tvpass.py +++ b/M3U8/scrapers/tvpass.py @@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "TVP" -CACHE_FILE = Cache(f"{TAG}.json", exp=86_400) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=86_400) BASE_URL = "https://tvpass.org/playlist/m3u" diff --git a/M3U8/scrapers/watchfooty.py b/M3U8/scrapers/watchfooty.py index f9d61f6..41b8d81 100644 --- a/M3U8/scrapers/watchfooty.py +++ b/M3U8/scrapers/watchfooty.py @@ -16,9 +16,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "WATCHFTY" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -API_FILE = Cache(f"{TAG}-api.json", exp=28_800) +API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) API_MIRRORS = ["https://api.watchfooty.top", "https://api.watchfooty.st"] diff --git a/M3U8/scrapers/webcast.py b/M3U8/scrapers/webcast.py index 35e23bb..61e2e0a 100644 --- a/M3U8/scrapers/webcast.py +++ b/M3U8/scrapers/webcast.py @@ -13,9 +13,9 @@ urls: dict[str, dict[str, str | float]] = {} TAG = "WEBCAST" -CACHE_FILE = Cache(f"{TAG}.json", exp=10_800) +CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) -HTML_CACHE = Cache(f"{TAG}-html.json", exp=86_400) +HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=86_400) BASE_URLS = {"NFL": "https://nflwebcast.com", "NHL": "https://slapstreams.com"}