diff --git a/src/you_get/extractors/netease.py b/src/you_get/extractors/netease.py index e838878b..1fc7c071 100644 --- a/src/you_get/extractors/netease.py +++ b/src/you_get/extractors/netease.py @@ -129,17 +129,10 @@ def netease_download(url, output_dir = '.', merge = True, info_only = False, **k src = r1(r' sd_size: - url, size = hd_url, hd_size - else: - url, size = sd_url, sd_size - ext = 'flv' + url = src + _, ext, size = url_info(src) + #sd_url = r1(r'(.+)-mobile.mp4', src) + ".flv" + #hd_url = re.sub('/SD/', '/HD/', sd_url) else: url = (r1(r'["\'](.+)-list.m3u8["\']', html) or r1(r'["\'](.+).m3u8["\']', html)) + ".mp4"