1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-04 14:05:10 -04:00

[Cleanup] Remove some unnecessary groups in regexes (#1738)

Authored by: Ashish0804
This commit is contained in:
Ashish Gupta
2021-11-30 21:44:47 +05:30
committed by GitHub
parent 0cbed930c8
commit 73f035e1fe
22 changed files with 31 additions and 30 deletions

View File

@@ -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',