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:46 -07:00 committed by GitHub
parent b1bbb03e0b
commit 1a82825b9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ class ParlerIE(InfoExtractor):
video_id = self._match_id(url)
# Get data from API
api_url = "https://parler.com/open-api/ParleyDetailEndpoint.php"
api_url = 'https://parler.com/open-api/ParleyDetailEndpoint.php'
payload = parse.urlencode({"uuid": video_id}).encode()
status = self._download_json(api_url, video_id, data=payload)