From 3fa4a81a39dde062cc661b08830a776e8018234a Mon Sep 17 00:00:00 2001 From: CodeName393 Date: Thu, 5 Feb 2026 19:25:51 +0900 Subject: [PATCH] Fix Missing HLS Curl Session Processing --- unshackle/core/manifests/hls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unshackle/core/manifests/hls.py b/unshackle/core/manifests/hls.py index 86133c0..1dd29e2 100644 --- a/unshackle/core/manifests/hls.py +++ b/unshackle/core/manifests/hls.py @@ -255,7 +255,7 @@ class HLS: else: # Get the playlist text and handle both session types response = session.get(track.url) - if isinstance(response, requests.Response): + if isinstance(response, requests.Response) or isinstance(response, CurlResponse): if not response.ok: log.error(f"Failed to request the invariant M3U8 playlist: {response.status_code}") sys.exit(1) @@ -583,7 +583,7 @@ class HLS: ) # Check response based on session type - if isinstance(res, requests.Response): + if isinstance(res, requests.Response) or isinstance(res, CurlResponse): res.raise_for_status() init_content = res.content else: