2011-05-18, 19:57
More simple but not working. It is using a path that no longer exists http://localhost:8081/api/shows/
But if we change the code to
f = urllib.urlopen("http://localhost:8081/home/")
print(f.read())
We get the shows in html....a small matter to process this?
Will json help with this or what is up with that?
show = json.loads(f.read())
But if we change the code to
f = urllib.urlopen("http://localhost:8081/home/")
print(f.read())
We get the shows in html....a small matter to process this?
Will json help with this or what is up with that?
show = json.loads(f.read())