Skip to content

Commit

Permalink
fix: Update load accountManage
Browse files Browse the repository at this point in the history
  • Loading branch information
chettoy committed May 1, 2022
1 parent 84a1402 commit c175d3b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions fxxkstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,16 +502,16 @@ def load_profile(self) -> dict:

self.sleep(500, 700)

url1 = "https://i.chaoxing.com/base/verify"
parms1 = {"_t": self.format_date_like_javascript()}
print("[INFO] load_profile verify")
result1 = self.request_xhr(url1, {
"Origin": "https://i.chaoxing.com",
"Referer": homepage_url,
}, data=parms1, method="POST").json()
if result1.get("status", False) != True:
raise MyError(0, G_STRINGS['error_response'] +
": url=" + url1 + "\n" + str(result1))
# url1 = "https://i.chaoxing.com/base/verify"
# parms1 = {"_t": self.format_date_like_javascript()}
# print("[INFO] load_profile verify")
# result1 = self.request_xhr(url1, {
# "Origin": "https://i.chaoxing.com",
# "Referer": homepage_url,
# }, data=parms1, method="POST").json()
# if result1.get("status", False) != True:
# raise MyError(0, G_STRINGS['error_response'] +
# ": url=" + url1 + "\n" + str(result1))

url2 = "https://i.chaoxing.com/base/settings"
print("[INFO] load_profile settings")
Expand Down

0 comments on commit c175d3b

Please sign in to comment.