remove duplicated line

This commit is contained in:
Rafael Moraes
2024-09-25 15:26:02 -03:00
parent a5f925fc18
commit 4e00fd6638
-7
View File
@@ -69,13 +69,6 @@ class DownloaderVideo:
"widevine",
)
stream_info.encryption_data_widevine = encryption_info["encryption_data"]
video_profiles = list(
profile
for profile in manifest["contents"][0]["profiles"]
if profile["mime_type"].startswith("video")
and encryption_index
in (profile.get("encryption_indices", [encryption_index]))
)
video_profiles = list(
filter(
lambda x: x["mime_type"].startswith("video")