mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-03 18:10:10 +09:00
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)
|
raise ExtractorError('91 Porn says: Daily limit 10 videos exceeded', expected=True)
|
||||||
|
|
||||||
title = self._search_regex(
|
title = self._search_regex(
|
||||||
r'<div id="viewvideo-title">([^<]+)</div>', webpage, 'title')
|
r'<h4 class="login_register_header"[^>]+>([^<]+)</h4>', webpage, 'title')
|
||||||
title = title.replace('\n', '')
|
title = title.strip()
|
||||||
|
|
||||||
video_link_url = self._search_regex(
|
video_link_url = self._search_regex(
|
||||||
r'<textarea[^>]+id=["\']fm-video_link[^>]+>([^<]+)</textarea>',
|
r'<textarea[^>]+id=["\']fm-video_link[^>]+>([^<]+)</textarea>',
|
||||||
|
Loading…
Reference in New Issue
Block a user