aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-21 12:47:01 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-21 12:47:01 +0200
commit1a30deca50d6256bb833aee672d5055d72319aca (patch)
tree2f98e10a6a3f86e6499d2f95c822c45605c551c7 /youtube_dl/extractor/common.py
parentd8624e6a80751c09a48ff6b9db1d4d85e377c437 (diff)
[teachertube] Fix title and playlist recognition
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 3213abacf..9b36e0789 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -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)