补充几种加密方式的识别
This commit is contained in:
parent
5404b56c40
commit
9938214310
|
@ -12,6 +12,8 @@ namespace N_m3u8DL_RE.Common.Enum
|
||||||
AES_128,
|
AES_128,
|
||||||
AES_128_ECB,
|
AES_128_ECB,
|
||||||
SAMPLE_AES,
|
SAMPLE_AES,
|
||||||
|
SAMPLE_AES_CTR,
|
||||||
|
CHACHA20,
|
||||||
UNKNOWN
|
UNKNOWN
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -481,6 +481,10 @@ namespace N_m3u8DL_RE.Parser.Extractor
|
||||||
{
|
{
|
||||||
return Convert.FromBase64String(uri.Substring(7));
|
return Convert.FromBase64String(uri.Substring(7));
|
||||||
}
|
}
|
||||||
|
else if (uri.ToLower().StartsWith("data:text/plain;base64,"))
|
||||||
|
{
|
||||||
|
return Convert.FromBase64String(uri.Substring(23));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var segUrl = PreProcessUrl(ParserUtil.CombineURL(BaseUrl, uri));
|
var segUrl = PreProcessUrl(ParserUtil.CombineURL(BaseUrl, uri));
|
||||||
|
|
Loading…
Reference in New Issue