dev: MV dl (need n-m3u8dl-re and mp4decrypt)

This commit is contained in:
itouakirai
2025-02-09 09:36:51 +08:00
parent dccaca5376
commit 3726ac4c8a
3 changed files with 131 additions and 16 deletions

View File

@@ -64,8 +64,8 @@ func (w *Key) GetKey(ctx context.Context, licenseServerURL string, PSSH string,
for _, key := range keys {
if key.Type == wv.License_KeyContainer_CONTENT {
// command += "--key " + hex.EncodeToString(key.ID) + ":" + hex.EncodeToString(key.Value)
command += hex.EncodeToString(key.Value)
command += hex.EncodeToString(key.ID) + ":" + hex.EncodeToString(key.Value)
//command += hex.EncodeToString(key.Value)
keybt = key.Value
}
}