From 00000d9f36c76481afb47730630182b5df2f893c Mon Sep 17 00:00:00 2001 From: doms9 <96013514+doms9@users.noreply.github.com> Date: Mon, 20 Oct 2025 11:23:43 -0400 Subject: [PATCH] e --- M3U8/fetch.py | 15 ++------------- M3U8/scrapers/{ => old}/fstv.py | 3 +++ 2 files changed, 5 insertions(+), 13 deletions(-) rename M3U8/scrapers/{ => old}/fstv.py (95%) diff --git a/M3U8/fetch.py b/M3U8/fetch.py index 4323869..757e790 100644 --- a/M3U8/fetch.py +++ b/M3U8/fetch.py @@ -2,16 +2,7 @@ import asyncio from pathlib import Path -from scrapers import ( - fstv, - ppv, - streambtw, - streameast, - streamed, - strmd, - tvpass, - watchfooty, -) +from scrapers import ppv, streambtw, streameast, streamed, strmd, tvpass, watchfooty from scrapers.utils import get_logger, network log = get_logger(__name__) @@ -37,7 +28,6 @@ async def main() -> None: base_m3u8, tvg_chno = load_base() tasks = [ - asyncio.create_task(fstv.scrape(network.client)), asyncio.create_task(ppv.scrape(network.client)), asyncio.create_task(streambtw.scrape(network.client)), asyncio.create_task(streameast.scrape(network.client)), @@ -50,8 +40,7 @@ async def main() -> None: await asyncio.gather(*tasks) additions = ( - fstv.urls - | ppv.urls + ppv.urls | streambtw.urls | streameast.urls | streamed.urls diff --git a/M3U8/scrapers/fstv.py b/M3U8/scrapers/old/fstv.py similarity index 95% rename from M3U8/scrapers/fstv.py rename to M3U8/scrapers/old/fstv.py index 0fca581..a8bfdd9 100644 --- a/M3U8/scrapers/fstv.py +++ b/M3U8/scrapers/old/fstv.py @@ -167,3 +167,6 @@ async def scrape(client: httpx.AsyncClient) -> None: log.info("No new events found") CACHE_FILE.write(cached_urls) + + +# cloudflare bot protection added