]> git.bitcoin.ninja Git - youtube-dl/blobdiff - youtube_dl/extractor/common.py
[teachertube] Fix title and playlist recognition
[youtube-dl] / youtube_dl / extractor / common.py
index 3213abacfc95f9e9dced77c2b8d9d5eac8e9c335..9b36e07891524c627be2b20a1adbd5269d57930a 100644 (file)
@@ -469,7 +469,7 @@ class InfoExtractor(object):
             display_name = name
         return self._html_search_regex(
             r'''(?ix)<meta
-                    (?=[^>]+(?:itemprop|name|property)=["\']%s["\'])
+                    (?=[^>]+(?:itemprop|name|property)=["\']?%s["\']?)
                     [^>]+content=["\']([^"\']+)["\']''' % re.escape(name),
             html, display_name, fatal=fatal, **kwargs)