Fixed title extraction
This commit is contained in:
parent
9a7e5cb88a
commit
92dde77016
@ -36,8 +36,8 @@ class Porn91IE(InfoExtractor):
|
||||
raise ExtractorError('91 Porn says: Daily limit 10 videos exceeded', expected=True)
|
||||
|
||||
title = self._search_regex(
|
||||
r'<div id="viewvideo-title">([^<]+)</div>', webpage, 'title')
|
||||
title = title.replace('\n', '')
|
||||
r'<h4 class="login_register_header"[^>]+>([^<]+)</h4>', webpage, 'title')
|
||||
title = title.strip()
|
||||
|
||||
video_link_url = self._search_regex(
|
||||
r'<textarea[^>]+id=["\']fm-video_link[^>]+>([^<]+)</textarea>',
|
||||
|
Loading…
Reference in New Issue
Block a user