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:18 -07:00 committed by GitHub
parent 40f370c358
commit e46a2a58e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class ParlerIE(InfoExtractor):
timestamp = unified_timestamp(data.get('date_created'))
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
uploader_url = ('https://parler.com/' + uploader_id) if uploader_id else None
# Return the result
return {