From f2a095884c293ebffd2363dc5b24c644bf6f4837 Mon Sep 17 00:00:00 2001 From: DarkFighterLuke Date: Sun, 27 Feb 2022 01:41:22 +0100 Subject: [PATCH] Set uploader default values to None --- youtube_dl/extractor/xvideos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py index e392698ac..09d5bf877 100644 --- a/youtube_dl/extractor/xvideos.py +++ b/youtube_dl/extractor/xvideos.py @@ -149,8 +149,8 @@ class XVideosIE(InfoExtractor): tags = self._search_regex(r'(?P.+?)<', webpage) - creator = '' - uploader_url = '' + creator = None + uploader_url = None if creator_data != []: uploader_url, creator = creator_data[0][0:2]