Skip to content

Commit

Permalink
Swapping redirect_url for submit_url (Anorov#330)
Browse files Browse the repository at this point in the history
redirect_url hasn't been assigned here. I'm guessing it is supposed to be submit_url
  • Loading branch information
SpangleLabs authored Feb 23, 2020
1 parent cd62d87 commit 4390ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfscrape/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def solve_cf_challenge(self, resp, **original_kwargs):
resp = self.request(self.org_method, submit_url, cookies = redirect.cookies)
return resp
else:
return self.request(method, redirect_url, **original_kwargs)
return self.request(method, submit_url, **original_kwargs)
else:
resp = self.request(self.org_method, submit_url, **cloudflare_kwargs)
return resp
Expand Down

0 comments on commit 4390ed9

Please sign in to comment.