forked from kenzuya/unshackle
feat(dl): let a service force --license-first with the LICENSE_FIRST class variable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user