added to settings
This commit is contained in:
parent
bb553d6318
commit
ee414bc91f
@ -1,6 +1,6 @@
|
|||||||
import time
|
import time
|
||||||
import requests
|
import requests
|
||||||
from settings import get_connection
|
from settings import (get_connection, key)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
with get_connection() as conn:
|
with get_connection() as conn:
|
||||||
@ -17,7 +17,7 @@ def main():
|
|||||||
for index, r in enumerate(res):
|
for index, r in enumerate(res):
|
||||||
steam_id = r[0]
|
steam_id = r[0]
|
||||||
ip = r[1]
|
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()
|
jrequest = requests.get(url).json()
|
||||||
#print(jrequest)
|
#print(jrequest)
|
||||||
d = jrequest[ip]
|
d = jrequest[ip]
|
||||||
|
Loading…
Reference in New Issue
Block a user