improve regex

This commit is contained in:
grqx_wsl 2024-11-04 14:19:52 +13:00
parent 9a6f9843c0
commit 901e78af62

View file

@ -165,9 +165,7 @@ class BoomplayBaseIE(InfoExtractor):
<a
(?:\s(?:[^>"']|"[^"]*"|'[^']*')*)?
(?<=\s)href\s*=\s*(?P<_q>['"])
(?:
(?!javascript:)(?P<href>/(?:{media_types})/\d+/?[\-a-zA-Z=?&#:;@]*)
)
(?!javascript:)(?P<href>/(?:{media_types})/\d+/?[\-\w=?&#:;@]*)
(?P=_q)
(?:\s(?:[^>"']|"[^"]*"|'[^']*')*)?
>''', webpage):