urllib timeout

John Nagle nagle at animats.com
Wed Jul 28 14:44:37 EDT 2010


On 7/27/2010 2:36 PM, kBob wrote:
>
>
>   I created a script to access weather satellite imagery fron NOAA's
> ADDS.
>
>   It worked fine until recently with Python 2.6.
>
>   The company changed the Internet LAN connections to "Accept Automatic
> settings" and "Use automatic configuration script"
>
>   How do you get urllib.urlopen to use the the "automatic script"
> configuration?
>
>   This code worked recently, until the company implemented these LAN
> connections...
>
>      SAT_URL = "http://adds.aviationweather.gov/data/satellite/
> latest_BWI_vis.jpg"

   Try

https://adds.aviationweather.gov/data/satellite/latest_BWI_vis.jpg

   The aviationweather.gov site will accept a HTTPS request.

   Maybe that will bypass whatever lame web proxy is in the way.

					John Nagle



More information about the Python-list mailing list