mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-06 13:35:50 +01:00
[Cleanup] Remove some unnecessary groups in regexes (#1738)
Authored by: Ashish0804
This commit is contained in:
parent
0cbed930c8
commit
73f035e1fe
22 changed files with 31 additions and 30 deletions
|
|
@ -11,7 +11,7 @@ from ..utils import (
|
|||
|
||||
|
||||
class ThreeSpeakIE(InfoExtractor):
|
||||
_VALID_URL = r'(?:https?://)(?:www\.)?3speak\.tv/watch\?v\=[^/]+/(?P<id>[^/$&#?]+)'
|
||||
_VALID_URL = r'https?://(?:www\.)?3speak\.tv/watch\?v\=[^/]+/(?P<id>[^/$&#?]+)'
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://3speak.tv/watch?v=dannyshine/wjgoxyfy',
|
||||
|
|
@ -75,7 +75,7 @@ class ThreeSpeakIE(InfoExtractor):
|
|||
|
||||
|
||||
class ThreeSpeakUserIE(InfoExtractor):
|
||||
_VALID_URL = r'(?:https?://)(?:www\.)?3speak\.tv/user/(?P<id>[^/$&?#]+)'
|
||||
_VALID_URL = r'https?://(?:www\.)?3speak\.tv/user/(?P<id>[^/$&?#]+)'
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://3speak.tv/user/theycallmedan',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue