diff options
author | Ashish Gupta <39122144+Ashish0804@users.noreply.github.com> | 2021-11-30 21:44:47 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 21:44:47 +0530 |
commit | 73f035e1feba7261d719b77e24b9fa3da93b9ecf (patch) | |
tree | 78f1769b7fcf17f64b2865b63c9d4a9d2e8ae8c9 /yt_dlp/extractor/onefootball.py | |
parent | 0cbed930c8f5b14500557b689c754b9ad0c0436a (diff) |
[Cleanup] Remove some unnecessary groups in regexes (#1738)
Authored by: Ashish0804
Diffstat (limited to 'yt_dlp/extractor/onefootball.py')
-rw-r--r-- | yt_dlp/extractor/onefootball.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/onefootball.py b/yt_dlp/extractor/onefootball.py index 79501003d..826faadd2 100644 --- a/yt_dlp/extractor/onefootball.py +++ b/yt_dlp/extractor/onefootball.py @@ -5,7 +5,7 @@ from .common import InfoExtractor class OneFootballIE(InfoExtractor): - _VALID_URL = r'(?:https?://)(?:www\.)?onefootball\.com/[a-z]{2}/video/[^/&?#]+-(?P<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?onefootball\.com/[a-z]{2}/video/[^/&?#]+-(?P<id>\d+)' _TESTS = [{ 'url': 'https://onefootball.com/en/video/highlights-fc-zuerich-3-3-fc-basel-34012334', |