1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 21:22:13 +00:00

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):
"""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 = [
{
"url": "https://parler.com/feed/df79fdba-07cc-48fe-b085-3293897520d7",