mirror of
https://github.com/zhaarey/AppleMusicDecrypt.git
synced 2025-10-23 15:11:06 +00:00
fix: remove mitm config
This commit is contained in:
@@ -97,9 +97,3 @@ afterDownloaded = ""
|
||||
embedMetadata = ["title", "artist", "album", "album_artist", "composer",
|
||||
"genre", "created", "track", "tracknum", "disk", "lyrics", "cover", "copyright",
|
||||
"record_company", "upc", "isrc","rtng"]
|
||||
|
||||
[mitm]
|
||||
# The host proxy server listens on
|
||||
host = "127.0.0.1"
|
||||
# The port proxy server listens on
|
||||
port = "11080"
|
||||
@@ -46,18 +46,12 @@ class Metadata(BaseModel):
|
||||
embedMetadata: list[str]
|
||||
|
||||
|
||||
class Mitm(BaseModel):
|
||||
host: str
|
||||
port: int
|
||||
|
||||
|
||||
class Config(BaseModel):
|
||||
region: Region
|
||||
devices: list[Device]
|
||||
m3u8Api: M3U8Api
|
||||
download: Download
|
||||
metadata: Metadata
|
||||
mitm: Mitm
|
||||
|
||||
@classmethod
|
||||
def load_from_config(cls, config_file: str = "config.toml"):
|
||||
|
||||
Reference in New Issue
Block a user