diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py index e15b50870..5102fdffb 100644 --- a/youtube_dl/extractor/xvideos.py +++ b/youtube_dl/extractor/xvideos.py @@ -149,8 +149,11 @@ class XVideosIE(InfoExtractor): tags = self._search_regex(r'(?P.+?)<', webpage) - creator = creator_data[0][1] - uploader_url = creator_data[0][0] + creator = '' + uploader_url = '' + if creator_data is not None: + creator = creator_data[0][1] + uploader_url = creator_data[0][0] actors_data = re.findall(r'href="(?P/pornstars/.+?)" class="btn btn-default label profile hover-name">(?P.+?)', webpage) actors = []