1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 09:17:20 +08:00

Use _og methods for title and thumbnail

This commit is contained in:
jjatria 2016-01-21 23:10:00 +00:00
parent 29626f0b6a
commit e9eb184f3a

View File

@ -54,11 +54,9 @@ class BioBioTVIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
title = self._html_search_meta(
'og:title', webpage, 'title', fatal=True)
title = self._og_search_title(webpage)
thumbnail = self._html_search_meta(
'og:image', webpage, 'thumbnail', fatal=True)
thumbnail = self._og_search_thumbnail(webpage)
video_id = self._html_search_regex(
r'loadFWPlayerVideo\(\"player_0\", \"\d{4}/(.+)\.mp4\"\)', webpage, 'title')