mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[eroprofile] Use _html_search_regex for thumbnail
(Should be squashed into the previous commits)
This commit is contained in:
parent
de94b1aa81
commit
94ebfe3762
@ -82,7 +82,7 @@ class EroProfileIE(InfoExtractor):
|
|||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
[r'<h1[^>]*>([^<]+)</h1>', r'Title:</th><td>([^<]+)</td>'],
|
[r'<h1[^>]*>([^<]+)</h1>', r'Title:</th><td>([^<]+)</td>'],
|
||||||
webpage, 'title')
|
webpage, 'title')
|
||||||
thumbnail = self._search_regex(
|
thumbnail = self._html_search_regex(
|
||||||
[r'<div class="playlistItem current">.*?<img src="([^"]+)"', r'onclick="showVideoPlayer\(\)"><img src="([^"]+)'],
|
[r'<div class="playlistItem current">.*?<img src="([^"]+)"', r'onclick="showVideoPlayer\(\)"><img src="([^"]+)'],
|
||||||
webpage, 'thumbnail', fatal=False)
|
webpage, 'thumbnail', fatal=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user