2012-04-26, 16:11
(2012-04-24, 09:35)bossanova808 Wrote: Is anyone having any issues? I think all the open issues have been fixed....I'm as happy as a pig in... umm... as a little Vegemite
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
(2012-04-24, 09:35)bossanova808 Wrote: Is anyone having any issues? I think all the open issues have been fixed....I'm as happy as a pig in... umm... as a little Vegemite
#and now get and set all the temperatures etc.
try:
data = common.fetchPage({"link":url})
except Exception as inst:
log("Error, couldn't retrieve weather page from WeatherZone - error: ", inst)
if data != '':
propertiesPDOM(data["content"], extendedFeatures)
#and now get and set all the temperatures etc.
try:
data = common.fetchPage({"link":url})
except Exception as inst:
log("Error, couldn't retrieve weather page from WeatherZone - error: ", inst)
if data != '':
log(str(data))
propertiesPDOM(data["content"], extendedFeatures)
log("Doing locations search for " + text)
#need to submit the postcode to the weatherzone search
searchURL = 'http://weatherzone.com.au/search/'
user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'
host = 'www.weatherzone.com.au'
headers = { 'User-Agent' : user_agent, 'Host' : host }
values = {'q' : text, 't' : '3' }
data = urllib.urlencode(values)
req = urllib2.Request(searchURL, data, headers)
response = urllib2.urlopen(req)
resultPage = str(response.read())
#was there only one match? If so it returns the page for that match so we need to check the URL
responseurl = response.geturl()
log("Response page url: " + responseurl)
(2012-03-20, 01:09)bossanova808 Wrote: Just that you're right, it's not downloading the backgrounds.
...
If you can give me the full path of where you did find them, I can probably make it work I guess, bit weird they are in a different spot.