1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-24 08:56:48 +00:00

remove unnecessary group name

This commit is contained in:
remitamine 2015-07-18 10:00:24 +01:00
parent 3af1fac7b0
commit 9d681c2bb3

View File

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