1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:06:49 +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 11:04:54 -07:00 committed by GitHub
parent 99d43f800f
commit fec554563a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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