mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 20:53:06 +00:00
pops param try_look
when logged in.
This commit is contained in:
parent
29a5968278
commit
b01183f904
@ -166,6 +166,8 @@ class BilibiliBaseIE(InfoExtractor):
|
||||
|
||||
def _download_playinfo(self, bvid, cid, headers=None, **kwargs):
|
||||
params = {'bvid': bvid, 'cid': cid, 'fnval': 4048, **kwargs}
|
||||
if self.is_logged_in:
|
||||
params.pop('try_look', None)
|
||||
return self._download_json(
|
||||
'https://api.bilibili.com/x/player/wbi/playurl', bvid,
|
||||
query=self._sign_wbi(params, bvid), headers=headers,
|
||||
|
Loading…
Reference in New Issue
Block a user