1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 05:32:00 +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:03:00 -07:00 committed by GitHub
parent 027ba18bf4
commit 4b3bc81777
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,8 +63,8 @@ class ParlerIE(InfoExtractor):
# Pull out metadata
title = clean_html(data.get("full_body")).replace("\n", "")
timestamp = unified_timestamp(data.get("date_created"))
uploader = data.get("name")
uploader_id = data.get("username")
uploader = strip_or_none(data.get('name'))
uploader_id = strip_or_none(data.get('username'))
uploader_url = "https://parler.com/" + uploader_id if uploader_id else None
# Return the result