mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-01 14:37:57 +00:00
Merge branch 'parler' of github.com:palewire/youtube-dl into parler
This commit is contained in:
commit
99d43f800f
1 changed files with 4 additions and 4 deletions
|
@ -62,10 +62,10 @@ class ParlerIE(InfoExtractor):
|
||||||
|
|
||||||
# Pull out metadata
|
# Pull out metadata
|
||||||
title = clean_html(data.get("full_body")).replace("\n", "")
|
title = clean_html(data.get("full_body")).replace("\n", "")
|
||||||
timestamp = unified_timestamp(data.get("date_created"))
|
timestamp = unified_timestamp(data.get('date_created'))
|
||||||
uploader = data.get("name")
|
uploader = strip_or_none(data.get('name'))
|
||||||
uploader_id = data.get("username")
|
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 the result
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue