From 357a506c2050ebc3089869fbf1b4fca5693e1453 Mon Sep 17 00:00:00 2001 From: fourjr <28086837+fourjr@users.noreply.github.com> Date: Sun, 22 Nov 2020 00:03:40 +0800 Subject: [PATCH] [ChannelNewsAsia] follow conventions --- youtube_dl/extractor/channelnewsasia.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/youtube_dl/extractor/channelnewsasia.py b/youtube_dl/extractor/channelnewsasia.py index 457831a42..4739bbb58 100644 --- a/youtube_dl/extractor/channelnewsasia.py +++ b/youtube_dl/extractor/channelnewsasia.py @@ -36,8 +36,7 @@ class ChannelNewsAsiaIE(InfoExtractor): webpage = self._download_webpage(url, display_id) url_obj = ( re.search(r'(?:\d|\w|-)+)".*', webpage, flags=re.DOTALL) - or re.search(r'(?:\d|\w|-)+)".*', webpage, flags=re.DOTALL) - ) + or re.search(r'(?:\d|\w|-)+)".*', webpage, flags=re.DOTALL)) ooyala_id = url_obj.group('id') return self.url_result(