Kittens.jpg is broken


the following code...

from urllib2 import urlopen

kittens = urlopen('')

f = open('kittens.jpg', 'wb')

doesn't have any console output. It's not clear what is suppose to be achieved by this bit of code. The URL being opened has not content.


I don't know why it isn't working as written but the exercise appears to work when you modify the url in order to display a different image size. For example:

kittens = urlopen('')


from urllib2 import urlopen
url = ""
kitten = urlopen(url).read()

kitten_file = open(‘kittens.jpeg’, ‘wb’)