[BangPypers] How to fetch a file from url

Nitin Kumar nitin.nitp at gmail.com
Sat Aug 11 08:19:38 CEST 2012


I am trying to download a file from url. but every time it redirecting to
login url only even if i provide username and password?


import urllib
>>> x = urllib.urlopen("https://abcd/versionLabel/CURRENT<https://cdx-dev.cisco.com/ecm/view/objectId/090dca388000cbff/versionLabel/CURRENT>
>>> x.url

Nitin K

More information about the BangPypers mailing list