diff --git a/vinetrimmer/commands/dl.py b/vinetrimmer/commands/dl.py index effe7bd..e1ec8af 100644 --- a/vinetrimmer/commands/dl.py +++ b/vinetrimmer/commands/dl.py @@ -542,6 +542,10 @@ def result(ctx, service, quality, closest_resolution, range_, wanted, alang, sla track=track, ) assert license + + if isinstance(license, bytes): + license = license.decode("utf-8") + ctx.obj.cdm.parse_license( session_id, license # expects the XML License not base64 encoded str.