diff --git a/unshackle/core/manifests/hls.py b/unshackle/core/manifests/hls.py index c9afdc12..54b2df50 100644 --- a/unshackle/core/manifests/hls.py +++ b/unshackle/core/manifests/hls.py @@ -1610,7 +1610,9 @@ class HLS: try: return HLS.get_drm(key, session) except Widevine.Exceptions.KIDNotFound: - kid = HLS.get_track_kid_from_init(master, track, probe_session or session or run_proxy.fallback_session(), init_section) + kid = HLS.get_track_kid_from_init( + master, track, probe_session or session or run_proxy.fallback_session(), init_section + ) if not kid: raise return HLS.get_drm(key, session, kid=kid) diff --git a/unshackle/core/vault.py b/unshackle/core/vault.py index 86a5088c..b4aad217 100644 --- a/unshackle/core/vault.py +++ b/unshackle/core/vault.py @@ -10,7 +10,6 @@ from urllib3.util.retry import Retry from unshackle.core import __version__ from unshackle.core.session import POOL_MAX_SIZE - RATE_LIMIT_RETRIES = 3