Wont fail if description not found
This commit is contained in:
parent
bb53839e10
commit
547471ead5
@ -48,7 +48,7 @@ class YourPornIE(InfoExtractor):
|
||||
thumbnail = self._og_search_thumbnail(webpage)
|
||||
|
||||
duration = parse_duration(self._search_regex(r'Video Info -> duration:<b>([0-9:]+)</b>',
|
||||
webpage, 'duration'))
|
||||
webpage, 'duration', default=None))
|
||||
return {
|
||||
'id': video_id,
|
||||
'url': video_url,
|
||||
@ -56,4 +56,4 @@ class YourPornIE(InfoExtractor):
|
||||
'duration': duration,
|
||||
'thumbnail': thumbnail,
|
||||
'age_limit': 18
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user