Fixed title extraction

This commit is contained in:
JChris246 2020-06-30 00:30:14 -04:00
parent 9a7e5cb88a
commit 92dde77016

View File

@ -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>',