aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-07-18 10:00:24 +0100
committerremitamine <remitamine@gmail.com>2015-07-18 20:40:56 +0100
commit9d681c2bb3b75a666b76d8e346ffab66b65f9132 (patch)
treee542f2baa717de7fecedb1cb37c3538204f9bee3
parent3af1fac7b0f43778e44b3b86e0c74bf25fb6f489 (diff)
remove unnecessary group name
-rw-r--r--youtube_dl/extractor/dcn.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/dcn.py b/youtube_dl/extractor/dcn.py
index 5263def4c..f76ebda9e 100644
--- a/youtube_dl/extractor/dcn.py
+++ b/youtube_dl/extractor/dcn.py
@@ -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 {