BraydenMoore
commited on
Commit
•
d243a62
1
Parent(s):
0e2f27f
Update main.py
Browse files
main.py
CHANGED
@@ -29,7 +29,7 @@ def latlon_to_pixel(loc):
|
|
29 |
|
30 |
@app.route('/video/<path:url>')
|
31 |
def video(url):
|
32 |
-
req =
|
33 |
|
34 |
def generate():
|
35 |
for chunk in req.iter_content(chunk_size=1024):
|
|
|
29 |
|
30 |
@app.route('/video/<path:url>')
|
31 |
def video(url):
|
32 |
+
req = requests.get('https://' + url, timeout=10)
|
33 |
|
34 |
def generate():
|
35 |
for chunk in req.iter_content(chunk_size=1024):
|