1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-23 01:09:48 +08:00

[eroprofile] Use _html_search_regex for thumbnail

(Should be squashed into the previous commits)
This commit is contained in:
YetAnotherGhost
2020-01-04 20:11:35 +01:00
committed by GitHub
Unverified
parent de94b1aa81
commit 94ebfe3762
+1 -1
View File
@@ -82,7 +82,7 @@ class EroProfileIE(InfoExtractor):
title = self._html_search_regex(
[r'<h1[^>]*>([^<]+)</h1>', r'Title:</th><td>([^<]+)</td>'],
webpage, 'title')
thumbnail = self._search_regex(
thumbnail = self._html_search_regex(
[r'<div class="playlistItem current">.*?<img src="([^"]+)"', r'onclick="showVideoPlayer\(\)"><img src="([^"]+)'],
webpage, 'thumbnail', fatal=False)