[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
If any1 wants a shell script that downloads everything from
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: 23
Thread images: 2
File: Screenshot_2016-07-07_22-35-30.png (199 KB, 1629x530) Image search: [Google]
Screenshot_2016-07-07_22-35-30.png
199 KB, 1629x530
If any1 wants a shell script that downloads everything from hentaifeet.com, let me know :^)
>>
>>55462493
i want
>>
>>55462493
do want
nao gif
>>
Worse than scatfags.
>>
>>55462493
>samefagging this hard
>>
>>55462607
>6 posters
>samefagging
>>
Sharing is caring <3
>>
#!/bin/bash
for i in `seq 9 195`;
do
wget -q --show-progress hentaifeet.com/page/$i && cat $i | java Jsed '(http:\/\/[a-zA-Z/\-_0-9\.]+\_1280.jpg)' > list && wget -q --show-progress -i list
done


Java class: Bad news, i did not know how to pipe a regex string. If someone knows how to regex the stdout with a java regex, you can

import java.io.*;
import java.util.regex.*;

public class Jsed{

public static void main (String args[]) {

Pattern p = Pattern.compile(args[0]);

try{
InputStream in = System.in;
ByteArrayOutputStream out = new ByteArrayOutputStream();

byte[] buf = new byte[4096];
int b;

while ((b = in.read(buf)) != -1) {
out.write(buf, 0,b);
}

Matcher m = p.matcher(new String(out.toByteArray()));

while (m.find()) {
System.out.println(m.group(1));
}
}catch(IOException io){

io.printStackTrace();
}
}
}
>>
>>55462623
I meant that
>>55462500
>>55462565
>>55462577
were samefagging.
>>
>>55462577
I wasn't samefagging, I was just getting dubs. Didn't look at what thread I posted in.
>>
>>55462748
fuck. 66 get
>>
>>55462766
haha fuck yeah. but shit I missed 777. 88 get.
>>
File: eb.png (239 KB, 329x362) Image search: [Google]
eb.png
239 KB, 329x362
>>55462766
>>55462788
>>
>>55462835
Thanks you.
>>
>>55462844
cool, do it again
>>
>>55462493
>using the smiley with a carat nose
>>
>>55463026
55 get
>>
>>55463155
OH
>>
>>55463155
serious question how are you doing this? got a github link?
>>
>>55463226
just google 4chan get userscripts
>>
>>55463255
thanks
>>
>>55463255
ok I installed mGet but how do I use it? sorry for being retarded
>>
>>55463312
you need 4chan x too.
Thread replies: 23
Thread images: 2

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.