Skip to content

A feature-rich command-line audio/video downloader

remove unnecessary group name

remitamine9d681c2bb3b7
diff --git a/youtube_dl/extractor/dcn.py b/youtube_dl/extractor/dcn.py
index 5263def4c6..f76ebda9e5 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 {