Update youtube_dl/extractor/parler.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Ben Welsh 2022-08-08 09:46:26 -07:00 committed by GitHub
parent a6f8feef49
commit b1bbb03e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,8 @@ from ..utils import (
class ParlerIE(InfoExtractor): class ParlerIE(InfoExtractor):
"""Extract videos from posts on Parler.""" """Extract videos from posts on Parler."""
_VALID_URL = r"https://parler\.com/feed/(?P<id>[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<id>%s)' % (_UUID_RE, )
_TESTS = [ _TESTS = [
{ {
"url": "https://parler.com/feed/df79fdba-07cc-48fe-b085-3293897520d7", "url": "https://parler.com/feed/df79fdba-07cc-48fe-b085-3293897520d7",