From b1bbb03e0b8f026e78748f6bfd822691522ddf13 Mon Sep 17 00:00:00 2001 From: Ben Welsh Date: Mon, 8 Aug 2022 09:46:26 -0700 Subject: [PATCH] Update youtube_dl/extractor/parler.py Co-authored-by: dirkf --- youtube_dl/extractor/parler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",