Skip to content

Commit

Permalink
fix: buvid3 activate
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo2011 committed May 18, 2024
1 parent fc8ea3c commit 3bcc3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilibili_api/utils/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ async def _prepare_request(self, **kwargs) -> dict:

cookies = self.credential.get_cookies()

if self.credential.buvid3 is None:
if self.credential.buvid3 is None or self.credential.buvid3 == "":
global buvid3
if buvid3 == "" and self.url != API["info"]["spi"]["url"]:
resp = await get_spi_buvid()
Expand Down

0 comments on commit 3bcc3f4

Please sign in to comment.