From 176f6856e3234b3936675456e3d06f5e37fb6269 Mon Sep 17 00:00:00 2001 From: nihui Date: Fri, 16 Feb 2018 23:29:58 +0800 Subject: [PATCH] do not force quality and format, fix #15588 --- youtube_dl/extractor/bilibili.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py index beffcecd0..a1186f8b2 100644 --- a/youtube_dl/extractor/bilibili.py +++ b/youtube_dl/extractor/bilibili.py @@ -114,7 +114,7 @@ class BiliBiliIE(InfoExtractor): self._report_error(js) cid = js['result']['cid'] - payload = 'appkey=%s&cid=%s&otype=json&quality=2&type=mp4' % (self._APP_KEY, cid) + payload = 'appkey=%s&cid=%s&otype=json' % (self._APP_KEY, cid) sign = hashlib.md5((payload + self._BILIBILI_KEY).encode('utf-8')).hexdigest() headers = {