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/threespeak.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/threespeak.py')
-rw-r--r-- | yt_dlp/extractor/threespeak.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/threespeak.py b/yt_dlp/extractor/threespeak.py index 60e84529d..fe6a9554a 100644 --- a/yt_dlp/extractor/threespeak.py +++ b/yt_dlp/extractor/threespeak.py @@ -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', |