mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 12:40:11 +09:00
Apply refactoring suggested by @rautamiekka
This commit is contained in:
parent
caa0f4be1b
commit
f124fd7f68
@ -152,8 +152,7 @@ class XVideosIE(InfoExtractor):
|
|||||||
creator = ''
|
creator = ''
|
||||||
uploader_url = ''
|
uploader_url = ''
|
||||||
if creator_data != []:
|
if creator_data != []:
|
||||||
creator = creator_data[0][1]
|
uploader_url, creator = creator_data[0][0:2]
|
||||||
uploader_url = creator_data[0][0]
|
|
||||||
|
|
||||||
actors_data = re.findall(r'href="(?P<actor_url>/pornstars/.+?)" class="btn btn-default label profile hover-name"><span class="name">(?P<actor_name>.+?)</span>', webpage)
|
actors_data = re.findall(r'href="(?P<actor_url>/pornstars/.+?)" class="btn btn-default label profile hover-name"><span class="name">(?P<actor_name>.+?)</span>', webpage)
|
||||||
actors = []
|
actors = []
|
||||||
|
Loading…
Reference in New Issue
Block a user