1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 00:52:52 +08:00

[vodlocker] Allow title to end with a <br>

This commit is contained in:
Philipp Hagemeister 2014-08-23 14:39:45 +02:00
parent bc0bb6fd30
commit b7b04c9234

View File

@ -44,7 +44,7 @@ class VodlockerIE(InfoExtractor):
req, video_id, 'Downloading video page') req, video_id, 'Downloading video page')
title = self._search_regex( 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( thumbnail = self._search_regex(
r'image:\s*"(http[^\"]+)",', webpage, 'thumbnail') r'image:\s*"(http[^\"]+)",', webpage, 'thumbnail')
url = self._search_regex( url = self._search_regex(