From 1141133e714faeae5336f2ee5a586115887c665b Mon Sep 17 00:00:00 2001 From: Surya Oktafendri Date: Sat, 31 Mar 2018 04:12:14 +0700 Subject: [PATCH] [20detik] Use fatal search regex --- youtube_dl/extractor/detik.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/detik.py b/youtube_dl/extractor/detik.py index 3283f9e60..12dc392e1 100644 --- a/youtube_dl/extractor/detik.py +++ b/youtube_dl/extractor/detik.py @@ -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.*?)["\']''', - webpage, 'm3u8_url', group='m3u8_url', default='', fatal=False) + webpage, 'm3u8_url', group='m3u8_url', default='') if len(m3u8_url) == 0: raise ExtractorError('Video not found') title = self._og_search_title(webpage)