This commit is contained in:
doms9 2025-12-15 21:59:13 -05:00
parent cce6beba98
commit 00000d9898
18 changed files with 33 additions and 33 deletions

View file

@ -56,7 +56,7 @@ async def main() -> None:
asyncio.create_task(roxie.scrape(network.client)), asyncio.create_task(roxie.scrape(network.client)),
asyncio.create_task(shark.scrape(network.client)), asyncio.create_task(shark.scrape(network.client)),
asyncio.create_task(sport9.scrape(network.client)), asyncio.create_task(sport9.scrape(network.client)),
asyncio.create_task(streambtw.scrape(network.client)), # asyncio.create_task(streambtw.scrape(network.client)),
asyncio.create_task(streamcenter.scrape(network.client)), asyncio.create_task(streamcenter.scrape(network.client)),
asyncio.create_task(streamfree.scrape(network.client)), asyncio.create_task(streamfree.scrape(network.client)),
asyncio.create_task(streamhub.scrape(network.client)), asyncio.create_task(streamhub.scrape(network.client)),

View file

@ -13,7 +13,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "FAWA" TAG = "FAWA"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
BASE_URL = "http://www.fawanews.sc/" BASE_URL = "http://www.fawanews.sc/"

View file

@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "LOTUS" TAG = "LOTUS"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=5_400) CACHE_FILE = Cache(f"{TAG}.json", exp=5_400)
API_CACHE = Cache(f"{TAG.lower()}-api.json", exp=28_800) API_CACHE = Cache(f"{TAG}-api.json", exp=28_800)
BASE_URL = "https://lotusgamehd.xyz/api-event.php" BASE_URL = "https://lotusgamehd.xyz/api-event.php"

View file

@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "PIXEL" TAG = "PIXEL"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=19_800) CACHE_FILE = Cache(f"{TAG}.json", exp=19_800)
BASE_URL = "https://pixelsport.tv/backend/livetv/events" BASE_URL = "https://pixelsport.tv/backend/livetv/events"

View file

@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "PPV" TAG = "PPV"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
API_FILE = Cache(f"{TAG.lower()}-api.json", exp=19_800) API_FILE = Cache(f"{TAG}-api.json", exp=19_800)
API_MIRRORS = [ API_MIRRORS = [
"https://old.ppv.to/api/streams", "https://old.ppv.to/api/streams",

View file

@ -14,9 +14,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "ROXIE" TAG = "ROXIE"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=19_800) HTML_CACHE = Cache(f"{TAG}-html.json", exp=19_800)
BASE_URL = "https://roxiestreams.live" BASE_URL = "https://roxiestreams.live"

View file

@ -12,9 +12,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "SHARK" TAG = "SHARK"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=19_800) HTML_CACHE = Cache(f"{TAG}-html.json", exp=19_800)
BASE_URL = "https://sharkstreams.net" BASE_URL = "https://sharkstreams.net"

View file

@ -12,9 +12,9 @@ log = get_logger(__name__)
urls: dict[str, dict[str, str | float]] = {} urls: dict[str, dict[str, str | float]] = {}
TAG = "SPRT9" TAG = "SPORT9"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=3_600) CACHE_FILE = Cache(f"{TAG}.json", exp=3_600)
BASE_URL = "https://sport9.ru" BASE_URL = "https://sport9.ru"

View file

@ -14,7 +14,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMBTW" TAG = "STRMBTW"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=3_600) CACHE_FILE = Cache(f"{TAG}.json", exp=3_600)
BASE_URL = "https://streambtw.com" BASE_URL = "https://streambtw.com"

View file

@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMCNTR" TAG = "STRMCNTR"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) API_FILE = Cache(f"{TAG}-api.json", exp=28_800)
BASE_URL = "https://backendstreamcenter.youshop.pro:488/api/Parties" BASE_URL = "https://backendstreamcenter.youshop.pro:488/api/Parties"
@ -68,7 +68,7 @@ async def get_events(
events = [] events = []
start_dt = now.delta(minutes=-30) start_dt = now.delta(minutes=-30)
end_dt = now.delta(minutes=30) end_dt = now.delta(minutes=10)
for stream_group in api_data: for stream_group in api_data:
category_id: int = stream_group.get("categoryId") category_id: int = stream_group.get("categoryId")

View file

@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMFREE" TAG = "STRMFREE"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=19_800) CACHE_FILE = Cache(f"{TAG}.json", exp=19_800)
BASE_URL = "https://streamfree.to/" BASE_URL = "https://streamfree.to/"

View file

@ -14,9 +14,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMHUB" TAG = "STRMHUB"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=28_800) HTML_CACHE = Cache(f"{TAG}-html.json", exp=28_800)
BASE_URL = "https://streamhub.pro/" BASE_URL = "https://streamhub.pro/"

View file

@ -13,11 +13,11 @@ log = get_logger(__name__)
urls: dict[str, dict[str, str | float]] = {} urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMSG8" TAG = "STRMSGATE"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) API_FILE = Cache(f"{TAG}-api.json", exp=28_800)
BASE_URL = "https://streamingon.org" BASE_URL = "https://streamingon.org"

View file

@ -14,9 +14,9 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMD" TAG = "STRMD"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) API_FILE = Cache(f"{TAG}-api.json", exp=28_800)
MIRRORS = [ MIRRORS = [
"https://streami.su", "https://streami.su",

View file

@ -12,7 +12,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "TIM" TAG = "TIM"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=3_600)
API_URL = "https://api.timstreams.site/main" API_URL = "https://api.timstreams.site/main"

View file

@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "TVP" TAG = "TVP"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=86_400) CACHE_FILE = Cache(f"{TAG}.json", exp=86_400)
BASE_URL = "https://tvpass.org/playlist/m3u" BASE_URL = "https://tvpass.org/playlist/m3u"

View file

@ -14,11 +14,11 @@ log = get_logger(__name__)
urls: dict[str, dict[str, str | float]] = {} urls: dict[str, dict[str, str | float]] = {}
TAG = "WFTY" TAG = "WATCHFTY"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
API_FILE = Cache(f"{TAG.lower()}-api.json", exp=28_800) API_FILE = Cache(f"{TAG}-api.json", exp=28_800)
API_MIRRORS = ["https://api.watchfooty.top", "https://api.watchfooty.st"] API_MIRRORS = ["https://api.watchfooty.top", "https://api.watchfooty.st"]

View file

@ -11,11 +11,11 @@ log = get_logger(__name__)
urls: dict[str, dict[str, str | float]] = {} urls: dict[str, dict[str, str | float]] = {}
TAG = "WEBCST" TAG = "WEBCAST"
CACHE_FILE = Cache(f"{TAG.lower()}.json", exp=10_800) CACHE_FILE = Cache(f"{TAG}.json", exp=10_800)
HTML_CACHE = Cache(f"{TAG.lower()}-html.json", exp=86_400) HTML_CACHE = Cache(f"{TAG}-html.json", exp=86_400)
BASE_URLS = {"NFL": "https://nflwebcast.com", "NHL": "https://slapstreams.com"} BASE_URLS = {"NFL": "https://nflwebcast.com", "NHL": "https://slapstreams.com"}