remove unnecessary group name
authorremitamine <remitamine@gmail.com>
Sat, 18 Jul 2015 09:00:24 +0000 (10:00 +0100)
committerremitamine <remitamine@gmail.com>
Sat, 18 Jul 2015 19:40:56 +0000 (20:40 +0100)
youtube_dl/extractor/dcn.py

index 5263def4c69bda34c51e3a464994198f35a76dc9..f76ebda9e527914614d92c974612a4272930e095 100644 (file)
@@ -30,10 +30,9 @@ class DcnIE(InfoExtractor):
             video_id
         )
         m3u8_url = self._html_search_regex(
-            r'file: "(?P<m3u8_url>.*?)"',
+            r'file:\s*"([^"]+)',
             webpage,
-            'm3u8_url',
-            group='m3u8_url'
+            'm3u8_url'
         )
         formats = self._extract_m3u8_formats(m3u8_url, video_id)
         return {