]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/youjizz.py
[ie/youtube] Extract upload timestamp if available (#9856)
[yt-dlp.git] / yt_dlp / extractor / youjizz.py
index 5f5fbf21cf162cd56f43d5fd509874b78a68e66b..cd12be500bec04a9cebf9ad663547c3cc38104c7 100644 (file)
@@ -1,6 +1,3 @@
-from __future__ import unicode_literals
-
-
 from .common import InfoExtractor
 from ..utils import (
     determine_ext,
@@ -36,8 +33,7 @@ def _real_extract(self, url):
 
         webpage = self._download_webpage(url, video_id)
 
-        title = self._html_search_regex(
-            r'<title>(.+?)</title>', webpage, 'title')
+        title = self._html_extract_title(webpage)
 
         formats = []