mirror of https://github.com/stijndcl/didier
Send a head instead of get
parent
f052885ae0
commit
9a2313d376
|
@ -39,7 +39,7 @@ def freeGamesCheck(ctx):
|
||||||
|
|
||||||
if link == "":
|
if link == "":
|
||||||
return False
|
return False
|
||||||
request = requests.get(link)
|
request = requests.head(link)
|
||||||
if request.status_code != 200:
|
if request.status_code != 200:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue