Fix remoteCDM, add curl_cffi to instance check

This commit is contained in:
TPD94
2025-09-29 20:48:59 -04:00
parent a2c6798fe6
commit 2e2f8f5099
4 changed files with 23 additions and 5 deletions

View File

@@ -253,7 +253,7 @@ class DASH:
):
if not session:
session = Session()
elif not isinstance(session, Session):
elif not isinstance(session, (Session, CurlSession)):
raise TypeError(f"Expected session to be a {Session}, not {session!r}")
if proxy: