Question

curl_unescape doesnt seem to be in pycurl, what do i use instead?

Was it helpful?

Solution

Have you tried urllib.quote?

import urllib
print urllib.quote("some url")

some%20url

here's the documentation

OTHER TIPS

curl_ unescape is an obsolete function. Use curl_ easy_unescape instead.

We are planning to release new version of pycURL in a month or two. The new version would have all features of libcurl installed on your machine. -:)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top