Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
522e463f
Commit
522e463f
authored
Jun 18, 2022
by
Magix
Committed by
GitHub
Jun 18, 2022
Browse files
Remove unwanted name from proxy script
Censorship
parents
706dc5e4
e3c83d58
Changes
1
Show whitespace changes
Inline
Side-by-side
proxy.py
View file @
522e463f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
##
##
#
#
#
Genshin I
mpa
ct
script for mitmproxy
#
Animation Co
mpa
ny
script for mitmproxy
#
#
# https://github.com/MlgmXyysd/
# https://github.com/MlgmXyysd/
#
#
...
@@ -30,7 +30,7 @@ from proxy_config import USE_SSL
...
@@ -30,7 +30,7 @@ from proxy_config import USE_SSL
from
proxy_config
import
REMOTE_HOST
from
proxy_config
import
REMOTE_HOST
from
proxy_config
import
REMOTE_PORT
from
proxy_config
import
REMOTE_PORT
class
MlgmXyysd_
Genshin_I
mpa
ct
_Proxy
:
class
MlgmXyysd_
Animation_Co
mpa
ny
_Proxy
:
LIST_DOMAINS
=
[
LIST_DOMAINS
=
[
"api-os-takumi.mihoyo.com"
,
"api-os-takumi.mihoyo.com"
,
...
@@ -150,6 +150,6 @@ class MaybeTls:
...
@@ -150,6 +150,6 @@ class MaybeTls:
self
.
strategy
.
record_failure
(
server_address
)
self
.
strategy
.
record_failure
(
server_address
)
addons
=
[
addons
=
[
MlgmXyysd_
Genshin_I
mpa
ct
_Proxy
(),
MlgmXyysd_
Animation_Co
mpa
ny
_Proxy
(),
MaybeTls
()
MaybeTls
()
]
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment