summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-23 14:39:45 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-23 14:39:47 +0200
commitb7b04c92348d25346f2a09f3f193b7a174969cbb (patch)
tree561c8a331b5857b7f36a9a3e7a06758605910229
parentbc0bb6fd30ba9b2e2fbdd6d43c307d54015aca6e (diff)
downloadyoutube-dl-b7b04c92348d25346f2a09f3f193b7a174969cbb.tar.gz
youtube-dl-b7b04c92348d25346f2a09f3f193b7a174969cbb.tar.xz
youtube-dl-b7b04c92348d25346f2a09f3f193b7a174969cbb.zip
[vodlocker] Allow title to end with a <br>
-rw-r--r--youtube_dl/extractor/vodlocker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vodlocker.py b/youtube_dl/extractor/vodlocker.py
index 6d3b78749..affef6507 100644
--- a/youtube_dl/extractor/vodlocker.py
+++ b/youtube_dl/extractor/vodlocker.py
@@ -44,7 +44,7 @@ class VodlockerIE(InfoExtractor):
                 req, video_id, 'Downloading video page')
 
         title = self._search_regex(
-            r'id="file_title".*?>\s*(.*?)\s*<span', webpage, 'title')
+            r'id="file_title".*?>\s*(.*?)\s*<(?:br|span)', webpage, 'title')
         thumbnail = self._search_regex(
             r'image:\s*"(http[^\"]+)",', webpage, 'thumbnail')
         url = self._search_regex(