hey,
first, i want to thank the author for all his hard work in this.  i was
so upset when my weather stopped showing up!

anyway, the latest code still wasn't working for me.  i was getting
empty responses from weather.com.  after playing with wget for a bit, i
got it working by adding a few more headers.  i'm currently using the
headers below (although i think the "Accept-Language" header was really
the key one):

'User-Agent' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)',
'Accept-Language' => 'en-us,en;q=0.5',
'Accept' => 'text/html',
'Accept-Charset' => 'UTF-8'


-- 
jahlborn
------------------------------------------------------------------------
jahlborn's Profile: http://forums.slimdevices.com/member.php?userid=1246
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to