[mythtv] Mythweather not download weather radar map.

Christian Hack christianh at pdd.edmi.com.au
Sat May 24 15:33:45 EDT 2003


Having some mythweather problems with CVS checked out today, although I
doubt that makes much difference.

When it comes to the second download stage to parse for the URL of the
satellite image, it gets a redirect but doesn't seem to handle it correctly.
It then can't fint the map since it doesn't get the correct file...

Basically in my case (Brisbane Australia ASXX0016) it downloads the URL:
http://www.weather.com/weather/map/ASXX0016?from=LAPmaps

but instead gets:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A
HREF="http://www.weather.com/common/setrmidcookie.html?/weather/map/ASXX0016
?from=LAPmaps">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.27 Server at www.weather.com Port 80</ADDRESS>
</BODY></HTML>

IE, Mozilla etc handles both the URL and the redirect correctly.

Are other people getting this? I'm in Australia but I'd say it's the same
everywhere else. Was mythweather written when this redirect was occuring or
is it a new thing?

Christian










More information about the mythtv-dev mailing list