Use _og methods for title and thumbnail
This commit is contained in:
parent
29626f0b6a
commit
e9eb184f3a
@ -54,11 +54,9 @@ class BioBioTVIE(InfoExtractor):
|
|||||||
|
|
||||||
webpage = self._download_webpage(url, display_id)
|
webpage = self._download_webpage(url, display_id)
|
||||||
|
|
||||||
title = self._html_search_meta(
|
title = self._og_search_title(webpage)
|
||||||
'og:title', webpage, 'title', fatal=True)
|
|
||||||
|
|
||||||
thumbnail = self._html_search_meta(
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
'og:image', webpage, 'thumbnail', fatal=True)
|
|
||||||
|
|
||||||
video_id = self._html_search_regex(
|
video_id = self._html_search_regex(
|
||||||
r'loadFWPlayerVideo\(\"player_0\", \"\d{4}/(.+)\.mp4\"\)', webpage, 'title')
|
r'loadFWPlayerVideo\(\"player_0\", \"\d{4}/(.+)\.mp4\"\)', webpage, 'title')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user