[Vidbit] Fix regex
This commit is contained in:
parent
a0e2511a52
commit
fed6fd233c
@ -27,5 +27,5 @@ class VidbitIE(InfoExtractor):
|
|||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': self._html_search_regex(r'<h1>(.+)</h1>', webpage, 'title'),
|
'title': self._html_search_regex(r'<h1>(.+)</h1>', webpage, 'title'),
|
||||||
'url': self._BASE_URL % self._html_search_regex(r'file:\s*["\'](.+)["\']', webpage, 'video URL'),
|
'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