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
e3c83d58
Commit
e3c83d58
authored
Jun 19, 2022
by
zhaodice
Committed by
GitHub
Jun 19, 2022
Browse files
Censorship
parent
706dc5e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxy.py
View file @
e3c83d58
...
@@ -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