mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
e
- misc edits.
This commit is contained in:
parent
edc80fba5f
commit
00000d9e8c
4 changed files with 15 additions and 9 deletions
|
|
@ -217,9 +217,14 @@ class Network:
|
|||
got_one: asyncio.Event,
|
||||
) -> None:
|
||||
|
||||
invalids = ["amazonaws", "knitcdn", "jwpltx"]
|
||||
|
||||
escaped = [re.escape(i) for i in invalids]
|
||||
escaped = [
|
||||
re.escape(i)
|
||||
for i in {
|
||||
"amazonaws",
|
||||
"knitcdn",
|
||||
"jwpltx",
|
||||
}
|
||||
]
|
||||
|
||||
pattern = re.compile(rf"^(?!.*({'|'.join(escaped)})).*\.m3u8", re.I)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue