mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[zingmp3_vn] Add new extractor
This commit is contained in:
parent
d54c21303c
commit
13f9633e6b
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user