Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def getdatalocal():
|
|
105 |
def getpathvideo():
|
106 |
video = request.args.get('c')
|
107 |
# new = urllib.parse.quote(video)
|
108 |
-
newurl = 'http://atualli.
|
109 |
print(newurl)
|
110 |
res = requests.get(newurl)
|
111 |
|
@@ -114,8 +114,8 @@ def getpathvideo():
|
|
114 |
|
115 |
@ app.route('/<file>' , methods=['GET'])
|
116 |
def fileget(file):
|
117 |
-
|
118 |
-
newurl = 'http://atualli.ddns.net:8088/'+file
|
119 |
res = requests.get(newurl)
|
120 |
|
121 |
headers = [
|
|
|
105 |
def getpathvideo():
|
106 |
video = request.args.get('c')
|
107 |
# new = urllib.parse.quote(video)
|
108 |
+
newurl = 'http://painel.atualli.com/getpathvideo?c='+video
|
109 |
print(newurl)
|
110 |
res = requests.get(newurl)
|
111 |
|
|
|
114 |
|
115 |
@ app.route('/<file>' , methods=['GET'])
|
116 |
def fileget(file):
|
117 |
+
newurl = 'http://painel.atualli.com/'+file
|
118 |
+
#newurl = 'http://atualli.ddns.net:8088/'+file
|
119 |
res = requests.get(newurl)
|
120 |
|
121 |
headers = [
|