移除部分注释
This commit is contained in:
parent
d29eb68faa
commit
c7a61e7ded
@ -1,5 +1,3 @@
|
||||
import json
|
||||
|
||||
import requests
|
||||
|
||||
from .get_bf6_data import *
|
||||
@ -100,7 +98,7 @@ async def get_player_info_by_ea_id(player_id, user_id, platform):
|
||||
async def get_bf6_rank(player):
|
||||
url = f"https://api.tracker.gg/api/v2/bf6/standard/search?platform=origin&query={player}&autocomplete=true"
|
||||
result = await fetch_tracker_search(url, exported_cookie_path)
|
||||
# 无结果再使用steam搜索
|
||||
|
||||
if "errors" in result:
|
||||
return 0
|
||||
user_info = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user