[20detik] Remove unnecessary named group

This commit is contained in:
Surya Oktafendri 2018-03-31 04:19:54 +07:00
parent 0f70fb8ae0
commit 662d14ea7e
No known key found for this signature in database
GPG Key ID: 8CAB076E32F1FC8D

View File

@ -44,7 +44,7 @@ class DuaPuluhDetikIE(InfoExtractor):
webpage = self._download_webpage(embed_url, video_id)
m3u8_url = self._html_search_regex(
r'''["\']videoUrl["\']\s*:\s*["\'](?P<m3u8_url>.+)["\']''',
webpage, 'm3u8_url', group='m3u8_url', default='')
webpage, 'm3u8_url', default='')
if len(m3u8_url) == 0:
raise ExtractorError('Video not found')
title = self._og_search_title(webpage)