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

[Vidbit] Extract description

This commit is contained in:
TRox1972 2016-06-12 11:08:57 +02:00
parent fed6fd233c
commit b086dc8263

View File

@ -27,5 +27,6 @@ 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', None),
'desription': self._html_search_regex(r'description:\s*["\'](.*)["\']', webpage, 'thumbnail', None),
}