fix: disable SSL verification warnings by commenting out verify=False lines
This commit is contained in:
@@ -604,7 +604,7 @@ def refresh_data():
|
|||||||
"https://app.myice.hockey/api/mobilerest/refreshdata",
|
"https://app.myice.hockey/api/mobilerest/refreshdata",
|
||||||
headers=mobile_headers,
|
headers=mobile_headers,
|
||||||
data=f"token={userdata['token']}&id_club={userdata['id_club']}&language=FR",
|
data=f"token={userdata['token']}&id_club={userdata['id_club']}&language=FR",
|
||||||
verify=False,
|
# verify=False,
|
||||||
) as r:
|
) as r:
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
return r.json()
|
return r.json()
|
||||||
@@ -667,7 +667,7 @@ def mobile_game(
|
|||||||
"language=FR",
|
"language=FR",
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
verify=False,
|
# verify=False,
|
||||||
) as r:
|
) as r:
|
||||||
data = r.json()["eventData"]
|
data = r.json()["eventData"]
|
||||||
players = data["convocation"]["available"]
|
players = data["convocation"]["available"]
|
||||||
|
|||||||
Reference in New Issue
Block a user