Update youtube_dl/extractor/parler.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Ben Welsh 2022-08-08 11:05:07 -07:00 committed by GitHub
parent fec554563a
commit 2e1c744be8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class ParlerIE(InfoExtractor):
data = status['data'][0]['primary']
# Pull out metadata
title = clean_html(data.get("full_body")).replace("\n", "")
title = clean_html(data.get('full_body')) or self.generic_title(url)
timestamp = unified_timestamp(data.get('date_created'))
uploader = strip_or_none(data.get('name'))
uploader_id = strip_or_none(data.get('username'))