From 4b3bc81777bd57e26c2ce29800f76af7b8c5c12e Mon Sep 17 00:00:00 2001 From: Ben Welsh Date: Mon, 8 Aug 2022 11:03:00 -0700 Subject: [PATCH] Update youtube_dl/extractor/parler.py Co-authored-by: dirkf --- youtube_dl/extractor/parler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/parler.py b/youtube_dl/extractor/parler.py index 79888d8dd..267d9ff6b 100644 --- a/youtube_dl/extractor/parler.py +++ b/youtube_dl/extractor/parler.py @@ -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