From 3881ed3f949ee63d53fb8f7f7b1e28c4f654ab25 Mon Sep 17 00:00:00 2001 From: nuomi1 Date: Fri, 4 Jun 2021 22:35:50 +0800 Subject: [PATCH] feat: new missevan_stream_types --- src/you_get/extractors/missevan.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/you_get/extractors/missevan.py b/src/you_get/extractors/missevan.py index 5018852f..b7f413f2 100644 --- a/src/you_get/extractors/missevan.py +++ b/src/you_get/extractors/missevan.py @@ -75,17 +75,13 @@ class _Dispatcher(object): raise _NoMatchException() missevan_stream_types = [ - {'id': 'source', 'quality': '源文件', 'url_json_key': 'soundurl', - 'resource_url_fmt': 'sound/{resource_url}'}, - {'id': '320', 'quality': '320 Kbps', 'url_json_key': 'soundurl_64'}, + {'id': 'source', 'quality': '源文件', 'url_json_key': 'soundurl'}, {'id': '128', 'quality': '128 Kbps', 'url_json_key': 'soundurl_128'}, - {'id': '32', 'quality': '32 Kbps', 'url_json_key': 'soundurl_32'}, {'id': 'covers', 'desc': '封面图', 'url_json_key': 'cover_image', 'default_src': 'covers/nocover.png', 'resource_url_fmt': 'covers/{resource_url}'}, - {'id': 'coversmini', 'desc': '封面缩略图', 'url_json_key': 'cover_image', - 'default_src': 'coversmini/nocover.png', - 'resource_url_fmt': 'coversmini/{resource_url}'} + {'id': 'coversmini', 'desc': '封面缩略图', 'url_json_key': 'front_cover', + 'default_src': 'coversmini/nocover.png'} ] def _get_resource_uri(data, stream_type):