feat(dl): let a service force --license-first with the LICENSE_FIRST class variable

This commit is contained in:
imSp4rky
2026-12-05 20:23:47 -07:00
parent ce7cb41eac
commit bd178bc3af
18 changed files with 59 additions and 5 deletions
+2
View File
@@ -97,6 +97,8 @@ def call_session_handler(handler, body, service, **entry_fields):
class StubService:
LICENSE_FIRST = False
def __init__(self, tracks=(), cookies=()):
self.session = SimpleNamespace(headers={}, cookies=list(cookies))
self.tracks = list(tracks)