mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-10 21:40:11 +09:00
Merge c3f3a45b7d
into c5098961b0
This commit is contained in:
commit
bf036103b2
@ -36,8 +36,12 @@ 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')
|
[
|
||||||
title = title.replace('\n', '')
|
r'<div id="viewvideo-title">([^<]+)</div>',
|
||||||
|
r'<title>([^\n]+)',
|
||||||
|
], webpage, 'title'
|
||||||
|
)
|
||||||
|
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