mirror of
https://github.com/UrloMythus/UnHided.git
synced 2026-04-11 11:50:51 +00:00
new version
This commit is contained in:
@@ -71,6 +71,18 @@ class HLSManifestParams(GenericParams):
|
||||
None,
|
||||
description="Force all playlist URLs to be proxied through MediaFlow regardless of m3u8_content_routing setting. Useful for IPTV m3u/m3u_plus formats that don't have clear URL indicators.",
|
||||
)
|
||||
key_only_proxy: Optional[bool] = Field(
|
||||
False,
|
||||
description="Only proxy the key URL, leaving segment URLs direct.",
|
||||
)
|
||||
no_proxy: bool = Field(
|
||||
False,
|
||||
description="If true, returns the manifest content without proxying any internal URLs (segments, keys, playlists).",
|
||||
)
|
||||
max_res: bool = Field(
|
||||
False,
|
||||
description="If true, redirects to the highest resolution stream in the manifest.",
|
||||
)
|
||||
|
||||
|
||||
class MPDManifestParams(GenericParams):
|
||||
@@ -92,11 +104,12 @@ class MPDSegmentParams(GenericParams):
|
||||
mime_type: str = Field(..., description="The MIME type of the segment.")
|
||||
key_id: Optional[str] = Field(None, description="The DRM key ID (optional).")
|
||||
key: Optional[str] = Field(None, description="The DRM key (optional).")
|
||||
is_live: Optional[bool] = Field(None, alias="is_live", description="Whether the parent MPD is live.")
|
||||
|
||||
|
||||
class ExtractorURLParams(GenericParams):
|
||||
host: Literal[
|
||||
"Doodstream", "FileLions", "Mixdrop", "Uqload", "Streamtape", "Supervideo", "VixCloud", "Okru", "Maxstream", "LiveTV", "DLHD", "Fastream"
|
||||
"Doodstream", "FileLions", "FileMoon", "F16Px", "Mixdrop", "Uqload", "Streamtape", "StreamWish", "Supervideo", "VixCloud", "Okru", "Maxstream", "LiveTV", "LuluStream", "DLHD", "Fastream", "TurboVidPlay", "Vidmoly", "Vidoza", "Voe", "Sportsonline"
|
||||
] = Field(..., description="The host to extract the URL from.")
|
||||
destination: str = Field(..., description="The URL of the stream.", alias="d")
|
||||
redirect_stream: bool = Field(False, description="Whether to redirect to the stream endpoint automatically.")
|
||||
|
||||
Reference in New Issue
Block a user