[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I'm a faggot who is asking for help on /g/ but here it goes:
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 7
Thread images: 1
File: Smile_orig1109.jpg (452 KB, 800x600) Image search: [Google]
Smile_orig1109.jpg
452 KB, 800x600
I'm a faggot who is asking for help on /g/ but here it goes:

I need a program that just continues to download an image from a URL. I tried to make it in batch but apparently you have to hard code in the filename of the image so it would only download the image once and then fail to continue downloading it as there was already an image with that filename downloaded.

Can anyone help me out? It doesn't matter what language, it should be fairly easy if you aren't an idiot like me.
>>
>>55628604
Ripme

Downthemall
>>
>>55628722
See this is kinda what I want but I need to download the same image again and again and again
>>
Can't you make an integer which automatically increments after each download, and then append that integer to the filename?

Don't know batch, but generally something like this:
>Int NUM
>Download image as filename + NUM.jpg
>Increment NUM
>Repeat process
>>
Try selenium
>>
>>55628406
#!/bin/bash

url=www.nigger.com/homo.png
name=1
mkdir ~/pics
cd ~/pics

while [ 1=1 ]; do
wget $url ${name}.png
name=$name+1
done
>>
>>55628758
Why?
Thread replies: 7
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.