mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-16 18:36:22 +00:00
Set uploader default values to None
This commit is contained in:
parent
fa32787f2b
commit
b804854e3b
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class XNXXIE(InfoExtractor):
|
|||
tags = self._search_regex(r'<meta name="keywords" content="porn,porn movies,free porn,free porn movies,sex,porno,free sex,tube porn,tube,videos,full porn,xxnx,xnxxx,xxx,pussy,(?P<tags>.+?)"', webpage, 'tags', group='tags', default='').split(',')
|
||||
|
||||
uploader_data = re.findall(r'<a class=".+?-plate" href="(?P<uploader_url>.+?)">(?P<uploader_name>.+?)</a>', webpage)
|
||||
uploader_id = ''
|
||||
uploader_url = ''
|
||||
uploader_id = None
|
||||
uploader_url = None
|
||||
if uploader_data != []:
|
||||
uploader_url, uploader_id = uploader_data[0][0:2]
|
||||
|
||||
|
|
Loading…
Reference in a new issue