]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/drtuber.py
Prepate to upload
[youtubedl] / youtube_dl / extractor / drtuber.py
index c88b3126b1676f11ee3696a2499e1f7a0a57d8b3..5c41c8022e6215ac01d617972f6e988a0425d163 100644 (file)
@@ -66,7 +66,9 @@ class DrTuberIE(InfoExtractor):
         self._sort_formats(formats)
 
         title = self._html_search_regex(
-            (r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
+            (r'<h1[^>]+class=["\']title[^>]+>([^<]+)',
+             r'<title>([^<]+)\s*@\s+DrTuber',
+             r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
              r'<p[^>]+class="title_substrate">([^<]+)</p>',
              r'<title>([^<]+) - \d+'),
             webpage, 'title')