jar = cookielib.FileCookieJar('cookies')
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(jar))
request = urllib.request.Request('url for authentication', data)
opener.open(request)
url = (
    """http://www.locationary.com/access/proxy.jsp?ACTION_TOKEN=proxy_jsp$JspView$SaveAction&inPlaceID=1020634218&xxx_c_1_f_987=http%3A%2F%2Fwww.yellowpages.com%2Fpittsburgh-pa%2Fmip%2Ffamily-dollar-store-1349194%3Flid%3D1349194"""
    )
anything = opener.open(url)
anything.read()
How can I send a URL request to the server with Python without actually opening my browser ("without using the webbrowser module")?