mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[eroprofile] Add old regexes back
(Should be squashed into the previous commit)
This commit is contained in:
parent
ed835e1b8c
commit
99828a4f66
@ -80,9 +80,10 @@ class EroProfileIE(InfoExtractor):
|
|||||||
video_url = unescapeHTML(self._search_regex(
|
video_url = unescapeHTML(self._search_regex(
|
||||||
r'<source src="([^"]+)', webpage, 'video url'))
|
r'<source src="([^"]+)', webpage, 'video url'))
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
r'<h1[^>]*>([^<]+)</h1>', webpage, 'title')
|
[r'<h1[^>]*>([^<]+)</h1>', r'Title:</th><td>([^<]+)</td>'],
|
||||||
|
webpage, 'title')
|
||||||
thumbnail = self._search_regex(
|
thumbnail = self._search_regex(
|
||||||
r'<div class="playlistItem current">.*<img src="([^"]+)"',
|
[r'<div class="playlistItem current">.*<img src="([^"]+)"', r'onclick="showVideoPlayer\(\)"><img src="([^"]+)'],
|
||||||
webpage, 'thumbnail', fatal=False)
|
webpage, 'thumbnail', fatal=False)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user