mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 02:01:50 +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 = ''
|
||||
uploader_url = ''
|
||||
if creator_data != []:
|
||||
creator = creator_data[0][1]
|
||||
uploader_url = creator_data[0][0]
|
||||
uploader_url, creator = creator_data[0][0:2]
|
||||
|
||||
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 = []
|
||||
|
|
Loading…
Reference in a new issue