Skip to content

Commit

Permalink
fix(OurBits): 修复缺失Cookies导致被cf防火墙拦截
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Jan 6, 2020
1 parent 59e967a commit a4be442
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extractors/ourbits.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a4be442

Please sign in to comment.