Fix storing of DRM to be before preparation on URL tracks

This commit is contained in:
rlaphoenix 2023-03-08 21:31:44 +00:00
parent 32c118ab57
commit d73256f1b3
1 changed files with 1 additions and 1 deletions

View File

@ -795,8 +795,8 @@ class dl:
# it might not have Widevine DRM, or might not have found the PSSH # it might not have Widevine DRM, or might not have found the PSSH
self.log.warning("No Widevine PSSH was found for this track, is it DRM free?") self.log.warning("No Widevine PSSH was found for this track, is it DRM free?")
else: else:
prepare_drm(drm)
track.drm = [drm] track.drm = [drm]
prepare_drm(drm)
asyncio.run(aria2c( asyncio.run(aria2c(
uri=track.url, uri=track.url,