I am using urllib.urlretrieve in Python to download websites. Though some websites seem to not want me to download them, unless they have a proper referrer from their own site. Does anybody know of a way I can set a referrer in one of Python’s libraries or a external one to.
I am using urllib.urlretrieve in Python to download websites. Though some websites seem to
Share
adopted from http://docs.python.org/library/urllib2.html