1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 20:02:51 +08:00

do not force quality and format, fix #15588

This commit is contained in:
nihui 2018-02-16 23:29:58 +08:00 committed by GitHub
parent ea69624992
commit 176f6856e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {