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:
parent
29626f0b6a
commit
e9eb184f3a
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user