Issue #3 resolved

Add support for custom urlopen

olafura
created an issue

Hi, I want to use this program for an login site so I need a custom urlopen from ClientCookie.

Attached is the patch.

Example:

import ClientCookie

import pyquery

txdata = "username=username&password=password"

resp = ClientCookie.urlopen("http://www.example.com/login",txdata)

p = pyquery.Pyquery(url="http://www.example.com/restricted", urlopen=ClientCookie.urlopen)

Comments (2)

  1. Log in to comment