Commit
·
b7779db
1
Parent(s):
004fd1c
Update main.py
Browse files
main.py
CHANGED
|
@@ -15,6 +15,9 @@ with open('video_dict.pkl', 'rb') as f:
|
|
| 15 |
with open('live_urls.pkl', 'rb') as f:
|
| 16 |
live_urls = pkl.load(f)
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
def get_ip_info(ip_address):
|
| 19 |
try:
|
| 20 |
response = requests.get(f"http://ipinfo.io/{ip_address}/json")
|
|
|
|
| 15 |
with open('live_urls.pkl', 'rb') as f:
|
| 16 |
live_urls = pkl.load(f)
|
| 17 |
|
| 18 |
+
with open('active_urls.pkl', 'rb') as f:
|
| 19 |
+
live_urls = pkl.load(f)
|
| 20 |
+
|
| 21 |
def get_ip_info(ip_address):
|
| 22 |
try:
|
| 23 |
response = requests.get(f"http://ipinfo.io/{ip_address}/json")
|