added to settings
This commit is contained in:
parent
98fd5091d4
commit
b4d1da0a16
@ -1,6 +1,6 @@
|
||||
import time
|
||||
import requests
|
||||
from settings import get_connection
|
||||
from settings import (get_connection, key)
|
||||
|
||||
def main():
|
||||
with get_connection() as conn:
|
||||
@ -17,7 +17,7 @@ def main():
|
||||
for index, r in enumerate(res):
|
||||
steam_id = r[0]
|
||||
ip = r[1]
|
||||
url = f"https://proxycheck.io/v2/{ip}?key=30r040-2w8k51-711148-8118n3&asn=1"
|
||||
url = f"https://proxycheck.io/v2/{ip}?key={key}&asn=1"
|
||||
jrequest = requests.get(url).json()
|
||||
#print(jrequest)
|
||||
d = jrequest[ip]
|
||||
|
Loading…
Reference in New Issue
Block a user