diff --git a/youtube_dl/extractor/parler.py b/youtube_dl/extractor/parler.py index ecc44216c..0b09c1955 100644 --- a/youtube_dl/extractor/parler.py +++ b/youtube_dl/extractor/parler.py @@ -16,7 +16,8 @@ from ..utils import ( class ParlerIE(InfoExtractor): """Extract videos from posts on Parler.""" - _VALID_URL = r"https://parler\.com/feed/(?P[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})" + _UUID_RE = r'[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + _VALID_URL = r'https://parler\.com/feed/(?P%s)' % (_UUID_RE, ) _TESTS = [ { "url": "https://parler.com/feed/df79fdba-07cc-48fe-b085-3293897520d7",