Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62051 > unrolled thread

Re: Question RE urllib

Started byTim Chase <python.list@tim.thechases.com>
First post2013-12-16 06:04 -0600
Last post2013-12-16 06:04 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question RE urllib Tim Chase <python.list@tim.thechases.com> - 2013-12-16 06:04 -0600

#62051 — Re: Question RE urllib

FromTim Chase <python.list@tim.thechases.com>
Date2013-12-16 06:04 -0600
SubjectRe: Question RE urllib
Message-ID<mailman.4208.1387195393.18130.python-list@python.org>
On 2013-12-16 04:40, Jeff James wrote:
> These sites do not require a logon in order for the home
> page to come up.  Could this be due to some port being blocked
> internally ? Only one of the sites reporting as down is "https" but
> all are internal sites.  Is there some other component I should be
> including in the script ?

From your description, I'm unsure whether it's *only* the HTTPS sites
that are having issues, or a subset of your URL list that includes
both HTTP and HTTPS (where those sites happen to be internal).

Either way, my first suspicion is that you have some sort of proxy
server in your network that web-browsers use.  The urlopen() accepts a
parameter to list proxy server information, which you should be able
to glean from your browser settings.

If your web-browser isn't using a proxy, the sites might be doing
unsavory things like filtering by user-agent.  Dumping the contents
of the exception (and including it here) might help diagnose.

-tkc


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web