mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 14:25:12 +00:00
Apply refactoring suggested by @rautamiekka
This commit is contained in:
parent
d9c98f01d5
commit
fa32787f2b
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user