Hey I was wondering how to download images through code, I am familiar with C++, java, and just started javascript and HTML.
I am trying to download this image from:
http://wallbase.cc/wallpaper/335950
a similar question was this link:
https://stackoverflow.com/a/10443205/983292
but I dont understand it, if anyone can explain that, maybe it can help me. (side note looking through the source code of the wallbase website it seems like the question I linked to is trying to do the same thing)
Thanks in advance!
# get all pages curl 'http://domain.com/id/[1-151468]' -o '#1.html' # get all images grep -oh 'http://pics.domain.com/pics/original/.*jpg' *.html >urls.txt # download all images sort -u urls.txt | wget -i-
I know it has comments on what the commands do but what are the flags and such, and to answer your other question to be honest I haven't really tried anything I am new to web programming as mentioned above. – Kayvan Jul 18 '12 at 19:11