mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 08:47:39 +00:00
Censorship
This commit is contained in:
parent
706dc5e4c7
commit
e3c83d5828
6
proxy.py
6
proxy.py
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
# Genshin Impact script for mitmproxy
|
# Animation Company script for mitmproxy
|
||||||
#
|
#
|
||||||
# https://github.com/MlgmXyysd/
|
# https://github.com/MlgmXyysd/
|
||||||
#
|
#
|
||||||
@ -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_Impact_Proxy:
|
class MlgmXyysd_Animation_Company_Proxy:
|
||||||
|
|
||||||
LIST_DOMAINS = [
|
LIST_DOMAINS = [
|
||||||
"api-os-takumi.mihoyo.com",
|
"api-os-takumi.mihoyo.com",
|
||||||
@ -150,6 +150,6 @@ class MaybeTls:
|
|||||||
self.strategy.record_failure(server_address)
|
self.strategy.record_failure(server_address)
|
||||||
|
|
||||||
addons = [
|
addons = [
|
||||||
MlgmXyysd_Genshin_Impact_Proxy(),
|
MlgmXyysd_Animation_Company_Proxy(),
|
||||||
MaybeTls()
|
MaybeTls()
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user