diff --git a/youtube_dl/extractor/xnxx.py b/youtube_dl/extractor/xnxx.py
index 5468c954f..808733ed1 100644
--- a/youtube_dl/extractor/xnxx.py
+++ b/youtube_dl/extractor/xnxx.py
@@ -100,8 +100,8 @@ class XNXXIE(InfoExtractor):
tags = self._search_regex(r'(?P.+?)', webpage)
- uploader_id = ''
- uploader_url = ''
+ uploader_id = None
+ uploader_url = None
if uploader_data != []:
uploader_url, uploader_id = uploader_data[0][0:2]