From cb588acb5a65f5b71938bfdddd0e1c7518a0e182 Mon Sep 17 00:00:00 2001 From: Thomas Tsiakalakis Date: Thu, 25 Apr 2019 10:36:16 +0200 Subject: [PATCH] [intldropout] prevent double login --- youtube_dl/extractor/intldropout.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/intldropout.py b/youtube_dl/extractor/intldropout.py index d2dbe4b7d..531906bba 100644 --- a/youtube_dl/extractor/intldropout.py +++ b/youtube_dl/extractor/intldropout.py @@ -66,6 +66,9 @@ class IntlDropoutIE(VHXEmbedIE): if login_page is False: return + if "You are now signed in" in login_page: + return + login_form = self._hidden_inputs(login_page) login_form.update({