Skip to content

Commit 6dc048d

Browse files
authored
Cancel Proxy Setting
1 parent a8bbade commit 6dc048d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Code/Api/Parser/Naifen.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def DDindex(url)->dict:
5353
except:
5454
url = url.replace("https://","").replace("http://","")
5555
url = unquote(url)
56-
r = requests.get(f"https://{url}",headers={"User-Agent":header},proxies={"http":"http://127.0.0.1:7890",
57-
"https":"http://127.0.0.1:7890"})
56+
r = requests.get(f"https://{url}",headers={"User-Agent":header})
5857
r.encoding = 'utf-8'
5958
title = r.text.split("<title>")[1].split("</title>")[0]
6059
A.Save_Name , A.Web_Title = title, title

Code/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# *-* coding:utf-8 -*-
2-
APPVERSION = "V1.9"
2+
APPVERSION = "V2.0"
33
import webbrowser
44
import requests
55
import uvicorn

0 commit comments

Comments
 (0)