1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

[eroprofile] Make regex part non-greedy

(Should be squashed into the previous commits)
This commit is contained in:
YetAnotherGhost 2020-01-04 19:27:19 +01:00 committed by GitHub
parent 99828a4f66
commit de94b1aa81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ class EroProfileIE(InfoExtractor):
[r'<h1[^>]*>([^<]+)</h1>', r'Title:</th><td>([^<]+)</td>'],
webpage, 'title')
thumbnail = self._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)
return {