aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-07-13 11:29:08 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-07-13 11:29:08 +0200
commit44dbe8903580e1e62ea6f3881b2fa469853c4a83 (patch)
treee37407f97519aa86e1295895aa3724a2c2960997 /youtube_dl/extractor/common.py
parent46720279c28afb646b6ac19bcb11e85bb4bea726 (diff)
Use re.DOTALL by default when searching OpenGraph properties
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 0a0c4047d..05b243871 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -265,7 +265,7 @@ class InfoExtractor(object):
def _og_search_property(self, property, html, name=None, **kargs):
if name is None:
name = 'OpenGraph %s' % property
- return self._html_search_regex(self._og_regex(property), html, name, **kargs)
+ return self._html_search_regex(self._og_regex(property), html, name, flags=re.DOTALL, **kargs)
def _og_search_thumbnail(self, html, **kargs):
return self._og_search_property('image', html, 'thumbnail url', fatal=False, **kargs)