View Single Post
Old 12-14-2016, 03:14 PM   #22
leo738
Enthusiast
leo738 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
The string was from the server after login by outputting the server response using:

r = br.open(rq)
raw = r.read()
data = json.loads(raw)
print(data)

It seems I got lucky on my first stab at the setting the cookie!

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

appears to result in a fully working recipe, attached below.

Regards,

Leo
Attached Files
File Type: zip The Irish Times.recipe.zip (1.7 KB, 167 views)

Last edited by leo738; 12-16-2016 at 03:18 PM. Reason: Correct attached file
leo738 is offline   Reply With Quote