dropin

alternative frontend for dropout.tv
git clone https://git.ce9e.org/dropin.git

commit
0f3d1cf760ba74ec9a006ebe5805e59a31a7e587
parent
9419440c17f28c7b0643feae766fc95b8bf357f0
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2026-08-12 18:27
chase: add Accept header to login request

Diffstat

M dropin.py 4 +++-

1 files changed, 3 insertions, 1 deletions


diff --git a/dropin.py b/dropin.py

@@ -144,7 +144,9 @@ class Auth:
  144   144         if VERBOSE:
  145   145             print(f'fetch subscription token for {self.email}')
  146   146         async with aiohttp.ClientSession() as session:
  147    -1             async with session.get('https://watch.dropout.tv/login') as response:
   -1   147             async with session.get('https://watch.dropout.tv/login', headers={
   -1   148                 'Accept': 'text/html',
   -1   149             }) as response:
  148   150                 response.raise_for_status()
  149   151                 html = await response.text()
  150   152                 authenticity_token = re.search(