i can find absolutely no explanation why this code works for some images and not others. if anyone could help it would be much appreciated.
from urllib import urlretrieve
url=str(raw_input("URL: "))
name="img1.png"
file = open(name, 'w')
urlretrieve(url, name)
file.close()
so the code asks for the url of a picture off the net, converts it to png, and saves it as img1.png. i went to google and saved the logo ->worked fine.
tried saving other images from around the web ->no problems.
but when i try to save ANY images from this site:
Pokmon-X
I dont understand why!!!
so, any ideas?


Sign In
Create Account


Back to top









