From e9eb184f3a186f9189d47d84961b2fbca895b4b2 Mon Sep 17 00:00:00 2001 From: jjatria Date: Thu, 21 Jan 2016 23:10:00 +0000 Subject: [PATCH] Use _og methods for title and thumbnail --- youtube_dl/extractor/biobiotv.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/youtube_dl/extractor/biobiotv.py b/youtube_dl/extractor/biobiotv.py index aae0588ef..0260b81d9 100644 --- a/youtube_dl/extractor/biobiotv.py +++ b/youtube_dl/extractor/biobiotv.py @@ -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')