From 13f9633e6b16f00f2508a7e0d62c8047911785a5 Mon Sep 17 00:00:00 2001 From: hatienl0i261299 Date: Sat, 28 Mar 2020 17:33:17 +0700 Subject: [PATCH] [zingmp3_vn] Add new extractor --- youtube_dl/extractor/zingmp3_vn.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/youtube_dl/extractor/zingmp3_vn.py b/youtube_dl/extractor/zingmp3_vn.py index 73d8672af..0258be522 100644 --- a/youtube_dl/extractor/zingmp3_vn.py +++ b/youtube_dl/extractor/zingmp3_vn.py @@ -13,7 +13,6 @@ from ..utils import ( url_or_none, int_or_none, try_get, - ExtractorError, js_to_json ) @@ -111,10 +110,6 @@ class Zingmp3_vnIE(InfoExtractor): def _real_extract(self, url): mobj = re.search(self._VALID_URL, url) - if not mobj: - raise ExtractorError( - f'Zingmp3 no support for {url}.', expected=True - ) video_id = mobj.group('id') type = mobj.group('type') slug = mobj.group('slug')