mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-02-12 13:40:09 +09:00
Check whether actors_data has been found
This commit is contained in:
parent
48e5ff4bb1
commit
2606c3108e
@ -154,6 +154,7 @@ class XVideosIE(InfoExtractor):
|
||||
|
||||
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 = []
|
||||
if actors_data is not None:
|
||||
for actor_tuple in actors_data:
|
||||
actors.append({
|
||||
'given_name': actor_tuple[1],
|
||||
|
Loading…
Reference in New Issue
Block a user