Spaces:
Running
Running
Commit
·
e2e6687
1
Parent(s):
400b4cf
Update main.py
Browse files
main.py
CHANGED
@@ -82,6 +82,7 @@ from urllib.parse import urlparse, parse_qs
|
|
82 |
|
83 |
@app.route('/proxy/<path:url>')
|
84 |
def proxy(url):
|
|
|
85 |
|
86 |
headers = {
|
87 |
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
|
@@ -128,7 +129,6 @@ def index():
|
|
128 |
session['current_feed'] = id
|
129 |
|
130 |
url = encode_url(url)
|
131 |
-
print("CHOSEN",url)
|
132 |
id = feed
|
133 |
ip = ''.join(url.split('//')[-1]).split(':')[0]
|
134 |
print('IP:',ip)
|
|
|
82 |
|
83 |
@app.route('/proxy/<path:url>')
|
84 |
def proxy(url):
|
85 |
+
print("CHOSEN",url)
|
86 |
|
87 |
headers = {
|
88 |
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
|
|
|
129 |
session['current_feed'] = id
|
130 |
|
131 |
url = encode_url(url)
|
|
|
132 |
id = feed
|
133 |
ip = ''.join(url.split('//')[-1]).split(':')[0]
|
134 |
print('IP:',ip)
|