aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/hls.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-02-07 03:22:29 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-02-08 07:28:46 +0530
commitf6a765ceb59c55aea06921880c1c87d1ff36e5de (patch)
tree4120a1128be7c3ec48f0d81f6832fe55e25cff5b /yt_dlp/downloader/hls.py
parent754c84e2e416cf6609dd0e4632b4985a08d34043 (diff)
downloadhypervideo-pre-f6a765ceb59c55aea06921880c1c87d1ff36e5de.tar.lz
hypervideo-pre-f6a765ceb59c55aea06921880c1c87d1ff36e5de.tar.xz
hypervideo-pre-f6a765ceb59c55aea06921880c1c87d1ff36e5de.zip
[dependencies] Standardize `Cryptodome` imports
Diffstat (limited to 'yt_dlp/downloader/hls.py')
-rw-r--r--yt_dlp/downloader/hls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/downloader/hls.py b/yt_dlp/downloader/hls.py
index 2010f3dc9..ae18ac419 100644
--- a/yt_dlp/downloader/hls.py
+++ b/yt_dlp/downloader/hls.py
@@ -7,7 +7,7 @@ from . import get_suitable_downloader
from .external import FFmpegFD
from .fragment import FragmentFD
from .. import webvtt
-from ..dependencies import Cryptodome_AES
+from ..dependencies import Cryptodome
from ..utils import bug_reports_message, parse_m3u8_attributes, update_url_query
@@ -63,7 +63,7 @@ class HlsFD(FragmentFD):
can_download, message = self.can_download(s, info_dict, self.params.get('allow_unplayable_formats')), None
if can_download:
has_ffmpeg = FFmpegFD.available()
- no_crypto = not Cryptodome_AES and '#EXT-X-KEY:METHOD=AES-128' in s
+ no_crypto = not Cryptodome and '#EXT-X-KEY:METHOD=AES-128' in s
if no_crypto and has_ffmpeg:
can_download, message = False, 'The stream has AES-128 encryption and pycryptodomex is not available'
elif no_crypto: