title: Python: PyCurl set URL exception
body: <p>I try to set the url using this code <code>c.setopt(pycurl.URL, link)</code>, but I get the following exception</p>
  
  <pre>
  <code>
  File "/home/sultan/Repository/Django/monitor/app/thread/utils.py", line 164, in perform
      self.proxy_request.setopt(pycurl.URL, u'%s' % unicode(link))
  TypeError: invalid arguments to setopt
  </code>
  </pre>
  
  <p>What is wrong with my code?</p>
  
  <p>Sultan</p>