[mod] engines: replace [random.choice(...) for ... in range(..)] with random.choices

This commit is contained in:
Bnyro
2026-07-29 17:11:53 +02:00
parent 702f702f9b
commit a449518ed4
6 changed files with 6 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ base_url = "https://api.bilibili.com/x/web-interface/search/type"
cookie = {
"innersign": "0",
"buvid3": "".join(random.choice(string.hexdigits) for _ in range(16)) + "infoc",
"buvid3": "".join(random.choices(string.hexdigits, k=16)) + "infoc",
"i-wanna-go-back": "-1",
"b_ut": "7",
"FEED_LIVE_VERSION": "V8",