1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-03 13:57:54 +01:00

[zingmp3_vn] Add new extractor

This commit is contained in:
hatienl0i261299 2020-03-28 17:33:17 +07:00
parent d54c21303c
commit 13f9633e6b

View File

@ -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')