mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
Apply refactoring suggested by @rautamiekka
This commit is contained in:
parent
caa0f4be1b
commit
f124fd7f68
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue