Dec. 23, 2008
12:42 a.m.
Hey everyone, I've been trying to use the lxml forms with client cookies to handle html logins. Using cookielib, I'm able to manually login to a page using either urllib or urllib2 and have it work. The moment I try to use lxml.html.submit_form(), however, it fails. I've tried sniffing the packets, and it turns out that lxml is never sending cookies, which makes me guess that lxml is using neither urllib nor urllib2. How do I use cookes with lxml? Doug