[eroprofile] Make regex part non-greedy
(Should be squashed into the previous commits)
This commit is contained in:
parent
99828a4f66
commit
de94b1aa81
@ -83,7 +83,7 @@ class EroProfileIE(InfoExtractor):
|
|||||||
[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._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)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user