Commit
·
75c1c40
1
Parent(s):
2a30750
Update main.py
Browse files
main.py
CHANGED
@@ -79,6 +79,9 @@ def proxy(url):
|
|
79 |
|
80 |
@app.route('/')
|
81 |
def index():
|
|
|
|
|
|
|
82 |
url = 'https://storage.googleapis.com/bmllc-data-bucket/exceptions.pkl'
|
83 |
response = requests.get(url)
|
84 |
exceptions = pkl.loads(BytesIO(response.content).read())
|
|
|
79 |
|
80 |
@app.route('/')
|
81 |
def index():
|
82 |
+
with open('active_urls.pkl', 'rb') as f:
|
83 |
+
live_urls = pkl.load(f)
|
84 |
+
|
85 |
url = 'https://storage.googleapis.com/bmllc-data-bucket/exceptions.pkl'
|
86 |
response = requests.get(url)
|
87 |
exceptions = pkl.loads(BytesIO(response.content).read())
|