整理虎牙文档并接入设备画像指纹
This commit is contained in:
@@ -839,9 +839,15 @@ class HuyaAppPasswordLogin:
|
||||
# (App 渠道),缺字段注入浏览器会导致 UDB SDK 判定设备态不完整。
|
||||
from .web_cookie_fields import (
|
||||
fill_web_cookie_fields,
|
||||
qimei_feature_from_device_profile,
|
||||
)
|
||||
|
||||
full_cookie = fill_web_cookie_fields(cookie_str, guid="", uid=uid)
|
||||
full_cookie = fill_web_cookie_fields(
|
||||
cookie_str,
|
||||
guid="",
|
||||
uid=uid,
|
||||
qimei_feature=qimei_feature_from_device_profile(self.device_info),
|
||||
)
|
||||
appid_fixed = "; ".join(
|
||||
f"{key}={value}" if key != "udb_appid" else "udb_appid=5002"
|
||||
for key, value in cookie_pairs(full_cookie)
|
||||
|
||||
Reference in New Issue
Block a user