From 4e00fd6638bc9195634bdea7cbee0f4335296aa6 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Wed, 25 Sep 2024 15:26:02 -0300 Subject: [PATCH] remove duplicated line --- votify/downloader_video.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/votify/downloader_video.py b/votify/downloader_video.py index aaa3802..0b6465e 100644 --- a/votify/downloader_video.py +++ b/votify/downloader_video.py @@ -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")