Spaces:
Running
Running
Commit
·
6be0cae
1
Parent(s):
444d443
Update main.py
Browse files
main.py
CHANGED
@@ -30,7 +30,7 @@ def encode_url(url):
|
|
30 |
encoded_query_params = [(key, quote(value)) for key, value in query_params]
|
31 |
encoded_query_string = urlencode(encoded_query_params)
|
32 |
finished = urlunsplit((scheme, netloc, path, encoded_query_string, fragment))
|
33 |
-
print(finished)
|
34 |
return finished
|
35 |
|
36 |
def load_exception_urls():
|
@@ -150,7 +150,7 @@ def index():
|
|
150 |
owner = 'unknown'
|
151 |
return render_template('index.html',
|
152 |
name=name,
|
153 |
-
url=proxy_url,
|
154 |
info=info,
|
155 |
country=country,
|
156 |
time=time,
|
|
|
30 |
encoded_query_params = [(key, quote(value)) for key, value in query_params]
|
31 |
encoded_query_string = urlencode(encoded_query_params)
|
32 |
finished = urlunsplit((scheme, netloc, path, encoded_query_string, fragment))
|
33 |
+
print('ENCODED',finished)
|
34 |
return finished
|
35 |
|
36 |
def load_exception_urls():
|
|
|
150 |
owner = 'unknown'
|
151 |
return render_template('index.html',
|
152 |
name=name,
|
153 |
+
url=encode_url(proxy_url),
|
154 |
info=info,
|
155 |
country=country,
|
156 |
time=time,
|