diff --git a/youtube_dl/extractor/radiobremen.py b/youtube_dl/extractor/radiobremen.py
index 057dc15ab..0d706312e 100644
--- a/youtube_dl/extractor/radiobremen.py
+++ b/youtube_dl/extractor/radiobremen.py
@@ -29,15 +29,21 @@ def _real_extract(self, url):
video_id = self._match_id(url)
meta_url = "http://www.radiobremen.de/apps/php/mediathek/metadaten.php?id=%s" % video_id
- meta_doc = self._download_webpage(meta_url, video_id, 'Downloading metadata')
- title = self._html_search_regex("
(?P.+)", meta_doc, "title")
- description = self._html_search_regex("(?P.*)
", meta_doc, "description")
- duration = parse_duration(
- self._html_search_regex("Länge:\s+(?P[0-9]+:[0-9]+) | ", meta_doc, "duration"))
+ meta_doc = self._download_webpage(
+ meta_url, video_id, 'Downloading metadata')
+ title = self._html_search_regex(
+ r"(?P.+)", meta_doc, "title")
+ description = self._html_search_regex(
+ r"(?P.*)
", meta_doc, "description", fatal=False)
+ duration = parse_duration(self._html_search_regex(
+ r"Länge:\s+(?P[0-9]+:[0-9]+) | ",
+ meta_doc, "duration", fatal=False))
- page_doc = self._download_webpage(url, video_id, 'Downloading video information')
- pattern = "ardformatplayerclassic\(\'playerbereich\',\'(?P[0-9]+)\',\'.*\',\'(?P[0-9]+)\',\'(?P[0-9]+)\',\'(?P.+)\',\'\'\)"
- mobj = re.search(pattern, page_doc)
+ page_doc = self._download_webpage(
+ url, video_id, 'Downloading video information')
+ mobj = re.search(
+ r"ardformatplayerclassic\(\'playerbereich\',\'(?P[0-9]+)\',\'.*\',\'(?P[0-9]+)\',\'(?P[0-9]+)\',\'(?P.+)\',\'\'\)",
+ page_doc)
video_url = (
"http://dl-ondemand.radiobremen.de/mediabase/%s/%s_%s_%s.mp4" %
(video_id, video_id, mobj.group("secret"), mobj.group('width')))