Apply refactoring suggested by @rautamiekka

This commit is contained in:
DarkFighterLuke 2022-02-27 01:32:20 +01:00
parent d9c98f01d5
commit fa32787f2b

View File

@ -103,8 +103,7 @@ class XNXXIE(InfoExtractor):
uploader_id = ''
uploader_url = ''
if uploader_data != []:
uploader_id = uploader_data[0][1]
uploader_url = uploader_data[0][0]
uploader_url, uploader_id = uploader_data[0][0:2]
actors_data = re.findall(r'<a class="is-pornstar" href="(?P<actor_url>.+?)">(?P<actor_name>.+?)</a>', webpage)
actors = []