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:
parent
a0e2511a52
commit
fed6fd233c
@ -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),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user