i' m trying to change an existing script
for my own needs
but the script doesn't work on my comp :P
So I thought i could change it
but my beginner knowledge of python isn't good enough for that :sleep:
the original script is here:
Download image file from the HTML page source using python? - Stack Overflow
first i want to get it to work
then i want to add some extra features to it
what i get when i run it:
Errorno2 no such file or directory
when i change
urlretrieve(urlparse.urlunparse(parsed), outpath)
to
urlretrieve(urlparse.urlunparse(parsed), test.jpg)
it does work a bit :p
it doesn't complain but the file was corrupted
so new thoughts are welcome :)


Sign In
Create Account



Back to top









