update M3U8
This commit is contained in:
parent
83d4bc0370
commit
13e96d7f8f
5 changed files with 349 additions and 149 deletions
|
|
@ -12,9 +12,9 @@ log = get_logger(__name__)
|
|||
urls: dict[str, dict[str, str]] = {}
|
||||
|
||||
MIRRORS = [
|
||||
"https://fstv.online",
|
||||
"https://fstv.zip",
|
||||
"https://fstv.space",
|
||||
"https://fstv.online",
|
||||
"https://fstv.us",
|
||||
]
|
||||
|
||||
|
|
@ -167,6 +167,3 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
log.info("No new events found")
|
||||
|
||||
CACHE_FILE.write(cached_urls)
|
||||
|
||||
|
||||
# cloudflare bot protection added
|
||||
|
|
@ -15,7 +15,7 @@ urls: dict[str, dict[str, str | float]] = {}
|
|||
|
||||
CACHE_FILE = Cache(Path(__file__).parent / "caches" / "streamed.json", exp=10_800)
|
||||
|
||||
HTML_CACHE = Cache(Path(__file__).parent / "caches" / "streamed_php.json", exp=86_400)
|
||||
HTML_CACHE = Cache(Path(__file__).parent / "caches" / "streamed_php.json", exp=28_800)
|
||||
|
||||
BASE_URL = "https://streamed.site/webmaster.php"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue