Fix for look dict typo
This commit is contained in:
parent
438374890d
commit
c1a6c67fea
@ -102,7 +102,7 @@ def decode_content(content, encoding_header):
|
|||||||
def bypass_captcha(session, response, url, cookies):
|
def bypass_captcha(session, response, url, cookies):
|
||||||
print("vvv COOKIES DICT vvv")
|
print("vvv COOKIES DICT vvv")
|
||||||
|
|
||||||
cookies = [{c.name: c.value} for c in cookies]
|
cookies = [{c['name']: c['value']} for c in cookies]
|
||||||
inputs = {}
|
inputs = {}
|
||||||
html = BeautifulSoup(str(response.text), "lxml")
|
html = BeautifulSoup(str(response.text), "lxml")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user