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/canalalpha.py | |
parent | 0cbed930c8f5b14500557b689c754b9ad0c0436a (diff) | |
download | hypervideo-pre-73f035e1feba7261d719b77e24b9fa3da93b9ecf.tar.lz hypervideo-pre-73f035e1feba7261d719b77e24b9fa3da93b9ecf.tar.xz hypervideo-pre-73f035e1feba7261d719b77e24b9fa3da93b9ecf.zip |
[Cleanup] Remove some unnecessary groups in regexes (#1738)
Authored by: Ashish0804
Diffstat (limited to 'yt_dlp/extractor/canalalpha.py')
-rw-r--r-- | yt_dlp/extractor/canalalpha.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/canalalpha.py b/yt_dlp/extractor/canalalpha.py index 7287677c1..51d30a321 100644 --- a/yt_dlp/extractor/canalalpha.py +++ b/yt_dlp/extractor/canalalpha.py @@ -11,7 +11,7 @@ from ..utils import ( class CanalAlphaIE(InfoExtractor): - _VALID_URL = r'(?:https?://)(?:www\.)?canalalpha\.ch/play/[^/]+/[^/]+/(?P<id>\d+)/?.*' + _VALID_URL = r'https?://(?:www\.)?canalalpha\.ch/play/[^/]+/[^/]+/(?P<id>\d+)/?.*' _TESTS = [{ 'url': 'https://www.canalalpha.ch/play/le-journal/episode/24520/jeudi-28-octobre-2021', |