mirror of
https://github.com/doms9/iptv.git
synced 2026-03-09 11:37:43 +01:00
e
edit scraping method for webcast.py
This commit is contained in:
parent
65d1ee9729
commit
00000d9e29
4 changed files with 84 additions and 44 deletions
|
|
@ -149,7 +149,7 @@ class Leagues:
|
|||
league: str,
|
||||
) -> bool:
|
||||
|
||||
pattern = re.compile(r"\s+(?:-|vs\.?|at|@)\s+", re.IGNORECASE)
|
||||
pattern = re.compile(r"\s+(?:-|vs\.?|at|@)\s+", re.I)
|
||||
|
||||
if pattern.search(event):
|
||||
t1, t2 = re.split(pattern, event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue