'Build an HTTPS opener.'

def __init__(self):

    self._opener = build_opener(HTTPSHandler())
    for handler in self._opener.handlers:
        if isinstance(handler, HTTPHandler):
            self._opener.handlers.remove(handler)
