From a4be442717a5da109f7979ab3d12568f389c8d0d Mon Sep 17 00:00:00 2001 From: Rhilip Date: Mon, 6 Jan 2020 16:37:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(OurBits):=20=E4=BF=AE=E5=A4=8D=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1Cookies=E5=AF=BC=E8=87=B4=E8=A2=ABcf=E9=98=B2=E7=81=AB?= =?UTF-8?q?=E5=A2=99=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extractors/ourbits.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extractors/ourbits.py b/extractors/ourbits.py index d0693cb..8d247b1 100644 --- a/extractors/ourbits.py +++ b/extractors/ourbits.py @@ -20,6 +20,7 @@ def update_cookies(self): password = self.config.get('password') s = requests.Session() + s.cookies.update(self.cookies) r = s.post(self.url_host + '/takelogin.php', data={ 'username': username, 'password': password,