View Single Post
Old 03-02-2017, 07:07 AM   #25
Cerdito
Junior Member
Cerdito began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2017
Device: Kindle
Hi,

When I run this with the line:

br.set_cookie('IT_PW_AUTH', data['varnish_id'], '.irishtimes.com')

I get the following error when I run it from the command line:

TypeError: set_cookie() takes exactly 2 arguments (4 given)

Any idea what I am doing wrong?
Cerdito is offline   Reply With Quote