1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 07:47:26 +08:00

[Vidbit] Fix regex

This commit is contained in:
TRox1972 2016-06-12 03:20:37 +02:00
parent a0e2511a52
commit fed6fd233c

View File

@ -27,5 +27,5 @@ class VidbitIE(InfoExtractor):
'id': video_id,
'title': self._html_search_regex(r'<h1>(.+)</h1>', webpage, 'title'),
'url': self._BASE_URL % self._html_search_regex(r'file:\s*["\'](.+)["\']', webpage, 'video URL'),
'thumbnail': self._BASE_URL % self._html_search_regex(r'image:\s*["\']([^"]*)["\']', webpage, 'thumbnail', fatal=False),
'thumbnail': self._BASE_URL % self._html_search_regex(r'image:\s*["\'](.*)["\']', webpage, 'thumbnail', fatal=False),
}