]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/fivetv.py
[ie/mlbtv] Fix extraction (#10296)
[yt-dlp.git] / yt_dlp / extractor / fivetv.py
index d6bebd19bd8cb60a7096a1c3872c10ac55e8b9e8..1f48cfd363cd6c7fe1a3b0d3eeaaf3adc548ef21 100644 (file)
@@ -1,7 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-
 from .common import InfoExtractor
 from ..utils import int_or_none
 
@@ -75,7 +71,7 @@ def _real_extract(self, url):
              r'<a[^>]+?href="([^"]+)"[^>]+?class="videoplayer"'],
             webpage, 'video url')
 
-        title = self._og_search_title(webpage, default=None) or self._html_extract_title(webpage)
+        title = self._generic_title('', webpage)
         duration = int_or_none(self._og_search_property(
             'video:duration', webpage, 'duration', default=None))