You are not logged in.
Please login or register.
wPge » Feedback » Pls add something to Image Dump
Pages: 1 2 Next
You must login or register to post a reply
Topic started by BillyTheCrab 25-12-2009 07:51:58

BillyTheCrab
BillyThePaperboy
Offline
- From: Halifax, NS
- Group: Moderator
- Registered: 03-06-2008
- Posts: 7021

Topic: Pls add something to Image Dump
Make it so you can just click the picture to go to the next one. It gets lame going back, clicking thumbnail, going back, clicking thumbnail.
It would be awesome if we could do like a slideshow, or make it so you can click "next picture" or SOMETHING!
ilu kossu
Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline
- Group: Member
- Registered: 21-12-2009
- Posts: 64
Re: Pls add something to Image Dump
ZtUPid0
BARDTARDED
Offline
- From: Finland
- Group: Member
- Registered: 19-06-2008
- Posts: 3983
Re: Pls add something to Image Dump

BillyTheCrab
BillyThePaperboy
Offline
- From: Halifax, NS
- Group: Moderator
- Registered: 03-06-2008
- Posts: 7021

Re: Pls add something to Image Dump
ZtUPid0 wrote:"Random pic"
this this this
Unholy
gone
Offline
- Group: Moderator
- Registered: 18-07-2008
- Posts: 5610

Re: Pls add something to Image Dump
this was suggested like 5 years ago
but kossu is a fgt etc

BillyTheCrab
BillyThePaperboy
Offline
- From: Halifax, NS
- Group: Moderator
- Registered: 03-06-2008
- Posts: 7021

Re: Pls add something to Image Dump
Unholy wrote:this was suggested like 5 years ago
but kossu is a fgt etc
I suggested it like 5 years ago rofl
.essence
BARDTARDED
Offline
- From: USA
- Group: Member
- Registered: 01-07-2008
- Posts: 3845
Re: Pls add something to Image Dump
BillyTheCrab wrote:Unholy wrote:this was suggested like 5 years ago
but kossu is a fgt etc
I suggested it like 5 years ago rofl
me too.
and kossu acted like he didn't know what i was talking about

<Ross>: at 10 i didnt know what supermarket meant
<Rai1> dude wait <Rai1> i gotta find that paris hilton song <Rai1> its banging
Brick Tamland
BARDTARDED
Offline
- Group: Member
- Registered: 20-06-2008
- Posts: 3867
Re: Pls add something to Image Dump
IMAGEDUMP WAS LAST UPDATED 5 YRS AGO [ogsadface
Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline
- Group: Member
- Registered: 21-12-2009
- Posts: 64
Re: Pls add something to Image Dump
wait what, how old is image dump?
Unholy
gone
Offline
- Group: Moderator
- Registered: 18-07-2008
- Posts: 5610

Re: Pls add something to Image Dump

BillyTheCrab
BillyThePaperboy
Offline
- From: Halifax, NS
- Group: Moderator
- Registered: 03-06-2008
- Posts: 7021

Re: Pls add something to Image Dump
Unholy wrote:around 5 years.
It'll be 6 years in February.
Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline
- Group: Member
- Registered: 21-12-2009
- Posts: 64
Re: Pls add something to Image Dump
oh, what features do you want? ill pass them onto Kossu

BillyTheCrab
BillyThePaperboy
Offline
- From: Halifax, NS
- Group: Moderator
- Registered: 03-06-2008
- Posts: 7021

Re: Pls add something to Image Dump
Pissoutmyass wrote:oh, what features do you want? ill pass them onto Kossu
http://www.wpge.org/post/93730/#p93730

I-X-King-X-I
BARDTARDED
Online
- Group: Member
- Registered: 08-06-2008
- Posts: 2471
Re: Pls add something to Image Dump
HOFDY wrote:I need to add my entire image collection to the image dump.
that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing

CHOEDY
BARDTARDED
Offline
- From: East Bay, Californida
- Group: Member
- Registered: 26-05-2008
- Posts: 9614

Re: Pls add something to Image Dump
I-X-King-X-I wrote:HOFDY wrote:I need to add my entire image collection to the image dump.
that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing
my collections is over 10,000 images.
ZtUPid0
BARDTARDED
Offline
- From: Finland
- Group: Member
- Registered: 19-06-2008
- Posts: 3983
Re: Pls add something to Image Dump
HOFDY wrote:I-X-King-X-I wrote:that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing
my collections is over 10,000 images.
Do it.

jam
Member
Offline
- From: www.raisucksdicks.se
- Group: Member
- Registered: 11-06-2008
- Posts: 812
Re: Pls add something to Image Dump
import java.io.*;
import java.net.*;
public class wg {
public static void main(String args[]) {
wg WG = new wg();
}
public wg() {
try {
URL threads[] = new URL[200];
URL mainUrl = new URL("http://orz.4chan.org/wg/");
String mainDelimiterStart = " [<a href=\"";
String mainDelimiterEnd = "\">Reply</a>]</span>";
logwriter = new BufferedWriter(new FileWriter("./wg/_log.txt", true));
BufferedReader reader = null;
int count = 0;
for(int i = 0; i <= 10; i++) {
URL imgboard = null;
if(i == 0)
imgboard = new URL(mainUrl + "imgboard" + ".html");
else
imgboard = new URL(mainUrl + String.valueOf(i) + ".html");
reader = new BufferedReader(new InputStreamReader(imgboard.openStream()));
String str;
while((str = reader.readLine()) != null) {
if(str.contains(mainDelimiterStart) && str.contains(mainDelimiterEnd))
threads[count++] = new URL(mainUrl + str.substring(str.indexOf(mainDelimiterStart) + mainDelimiterStart.length(), str.lastIndexOf(mainDelimiterEnd)));
}
reader.close();
}
String opFileDelimiterStart = "File : <a href=\"";
String opFileDelimiterEnd = "\" target=\"_blank\">";
String fileDelimiterStart = "<span class=\"filesize\">File<a href=\"";
String fileDelimiterEnd = "\" target=\"_blank\">";
for(URL threadUrl : threads)
if(threadUrl != null) {
reader = new BufferedReader(new InputStreamReader(threadUrl.openStream()));
String str;
while((str = reader.readLine()) != null) {
if(str.contains(opFileDelimiterStart) && str.contains(opFileDelimiterEnd)) {
String parsed = str.substring(str.indexOf(opFileDelimiterStart) + opFileDelimiterStart.length(), str.lastIndexOf(opFileDelimiterEnd));
log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
download(new URL(parsed));
}
else if(str.contains(fileDelimiterStart) && str.contains(fileDelimiterEnd)) {
String parsed = str.substring(str.indexOf(fileDelimiterStart) + fileDelimiterStart.length(), str.lastIndexOf(fileDelimiterEnd));
log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
download(new URL(parsed));
}
}
reader.close();
}
logwriter.flush();
logwriter.close();
log("Application executed.");
}
catch(Exception e) {
e.printStackTrace();
}
}
public void download(URL theURL) {
try {
if(!DownloadFile(theURL))
log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
else
log(">> Downloaded: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
}
catch(IOException ioe) {
log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
log("<< << IOException: " + ioe.getMessage());
}
}
public boolean DownloadFile(URL theURL) throws IOException {
String theFile = "./wg/" + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1);
if((new File(theFile)).exists())
return true;
URLConnection con;
con = theURL.openConnection();
con.connect();
String type = con.getContentType();
if (type != null) {
byte[] buffer = new byte[4 * 1024];
int read;
String[] split = type.split("\"");
FileOutputStream os = new FileOutputStream(theFile);
InputStream in = con.getInputStream();
while ((read = in.read(buffer)) > 0) {
os.write(buffer, 0, read);
}
os.close();
in.close();
return true;
}
else {
return false;
}
}
public void log(Object o) {
try {
logwriter.write(String.valueOf(o) + "\r\n");
System.out.println(o);
}
catch(IOException e) {
}
}
public BufferedWriter logwriter = null;
}
import java.io.*;
import java.net.*;
public class chan {
public static void main(String args[]) {
chan CHAN = new chan(args);
}
public chan(String args[]) {
try {
this.args = args;
URL threads[] = new URL[200];
URL mainUrl = new URL(args[0]);
String mainDelimiterStart = " [<a href=\"";
String mainDelimiterEnd = "\">Reply</a>]</span>";
logwriter = new BufferedWriter(new FileWriter("./" + args[1] + "/_log.txt", true));
BufferedReader reader = null;
int count = 0;
for(int i = 0; i <= 10; i++) {
URL imgboard = null;
if(i == 0)
imgboard = new URL(mainUrl + "imgboard" + ".html");
else
imgboard = new URL(mainUrl + String.valueOf(i) + ".html");
reader = new BufferedReader(new InputStreamReader(imgboard.openStream()));
String str;
while((str = reader.readLine()) != null) {
if(str.contains(mainDelimiterStart) && str.contains(mainDelimiterEnd))
threads[count++] = new URL(mainUrl + str.substring(str.indexOf(mainDelimiterStart) + mainDelimiterStart.length(), str.lastIndexOf(mainDelimiterEnd)));
}
reader.close();
}
String opFileDelimiterStart = "File : <a href=\"";
String opFileDelimiterEnd = "\" target=\"_blank\">";
String fileDelimiterStart = "<span class=\"filesize\">File<a href=\"";
String fileDelimiterEnd = "\" target=\"_blank\">";
for(URL threadUrl : threads)
if(threadUrl != null) {
reader = new BufferedReader(new InputStreamReader(threadUrl.openStream()));
String str;
while((str = reader.readLine()) != null) {
if(str.contains(opFileDelimiterStart) && str.contains(opFileDelimiterEnd)) {
String parsed = str.substring(str.indexOf(opFileDelimiterStart) + opFileDelimiterStart.length(), str.lastIndexOf(opFileDelimiterEnd));
log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
download(new URL(parsed));
}
else if(str.contains(fileDelimiterStart) && str.contains(fileDelimiterEnd)) {
String parsed = str.substring(str.indexOf(fileDelimiterStart) + fileDelimiterStart.length(), str.lastIndexOf(fileDelimiterEnd));
log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
download(new URL(parsed));
}
}
reader.close();
}
logwriter.flush();
logwriter.close();
log("Application executed.");
}
catch(Exception e) {
e.printStackTrace();
}
}
public void download(URL theURL) {
try {
if(!DownloadFile(theURL))
log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
else
log(">> Downloaded: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
}
catch(IOException ioe) {
log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
log("<< << IOException: " + ioe.getMessage());
}
}
public boolean DownloadFile(URL theURL) throws IOException {
String theFile = "./" + args[1] + "/" + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1);
if((new File(theFile)).exists())
return true;
URLConnection con;
con = theURL.openConnection();
con.connect();
String type = con.getContentType();
if (type != null) {
byte[] buffer = new byte[4 * 1024];
int read;
String[] split = type.split("\"");
FileOutputStream os = new FileOutputStream(theFile);
InputStream in = con.getInputStream();
while ((read = in.read(buffer)) > 0) {
os.write(buffer, 0, read);
}
os.close();
in.close();
return true;
}
else {
return false;
}
}
public void log(Object o) {
try {
logwriter.write(String.valueOf(o) + "\r\n");
System.out.println(o);
}
catch(IOException e) {
}
}
public BufferedWriter logwriter = null;
public String args[] = null;
}
import java.io.*;
import java.net.*;
public class thread {
public static void main(String args[]) {
thread CHAN = new thread(args);
}
public thread(String args[]) {
try {
this.args = args;
File f = new File("./" + args[1] + "/");
if(!f.exists())
f.mkdir();
URL threads[] = new URL[200];
threads[0] = new URL(args[0]);
String mainDelimiterStart = " [<a href=\"";
String mainDelimiterEnd = "\">Reply</a>]</span>";
logwriter = new BufferedWriter(new FileWriter("./" + args[1] + "/_log.txt", true));
BufferedReader reader = null;
String opFileDelimiterStart = "File : <a href=\"";
String opFileDelimiterEnd = "\" target=\"_blank\">";
String fileDelimiterStart = "<span class=\"filesize\">File<a href=\"";
String fileDelimiterEnd = "\" target=\"_blank\">";
for(URL threadUrl : threads)
if(threadUrl != null) {
reader = new BufferedReader(new InputStreamReader(threadUrl.openStream()));
String str;
while((str = reader.readLine()) != null) {
if(str.contains(opFileDelimiterStart) && str.contains(opFileDelimiterEnd)) {
String parsed = str.substring(str.indexOf(opFileDelimiterStart) + opFileDelimiterStart.length(), str.lastIndexOf(opFileDelimiterEnd));
log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
download(new URL(parsed));
}
else if(str.contains(fileDelimiterStart) && str.contains(fileDelimiterEnd)) {
String parsed = str.substring(str.indexOf(fileDelimiterStart) + fileDelimiterStart.length(), str.lastIndexOf(fileDelimiterEnd));
log(">> Starting to download: " + parsed.substring(parsed.lastIndexOf("/") + 1));
download(new URL(parsed));
}
}
reader.close();
}
logwriter.flush();
logwriter.close();
log("Application executed.");
}
catch(Exception e) {
e.printStackTrace();
}
}
public void download(URL theURL) {
try {
if(!DownloadFile(theURL))
log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
else
log(">> Downloaded: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
}
catch(IOException ioe) {
log("<< Could not download: " + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1));
log("<< << IOException: " + ioe.getMessage());
}
}
public boolean DownloadFile(URL theURL) throws IOException {
String theFile = "./" + args[1] + "/" + theURL.toString().substring(theURL.toString().lastIndexOf("/") + 1);
if((new File(theFile)).exists())
return true;
URLConnection con;
con = theURL.openConnection();
con.connect();
String type = con.getContentType();
if (type != null) {
byte[] buffer = new byte[4 * 1024];
int read;
String[] split = type.split("\"");
FileOutputStream os = new FileOutputStream(theFile);
InputStream in = con.getInputStream();
while ((read = in.read(buffer)) > 0) {
os.write(buffer, 0, read);
}
os.close();
in.close();
return true;
}
else {
return false;
}
}
public void log(Object o) {
try {
logwriter.write(String.valueOf(o) + "\r\n");
System.out.println(o);
}
catch(IOException e) {
}
}
public BufferedWriter logwriter = null;
public String args[] = null;
}



Splice
BARDTARDED
Offline
- From: Central Florida
- Group: Member
- Registered: 25-07-2008
- Posts: 1205
Re: Pls add something to Image Dump
HOFDY wrote:I-X-King-X-I wrote:that's what i said in the beginning
to have everyone who already has some kind of '*chan' folder, or what not, to just dump it for the start of the thing
my collections is over 10,000 images.
thats cause you're el creepo

BillyTheCrab
BillyThePaperboy
Offline
- From: Halifax, NS
- Group: Moderator
- Registered: 03-06-2008
- Posts: 7021

Re: Pls add something to Image Dump
I-X-King-X-I wrote:HOFDY wrote:my collections is over 10,000 images.
i had a noob 6k on my first one
then i reformatted
then i had 17k on my old hard drive
haven't saved any at all on this computer
lol is this some kind of competition? 

stuff
BARDTARDED
Offline
- From: San Antonio, Texas
- Group: Member
- Registered: 27-05-2008
- Posts: 4947

Re: Pls add something to Image Dump
hoedy has over 9000 images.
Pissoutmyass
BEEEEEEEEEF CAAAAAAAAKEEEEEEEEEE
Offline
- Group: Member
- Registered: 21-12-2009
- Posts: 64
Re: Pls add something to Image Dump
mk updated image dump with random picture and now you can goto next picture by clicking it. Also I coded an eastern egg if someone can find it lol (involves Americans being stupid)
ZtUPid0
BARDTARDED
Offline
- From: Finland
- Group: Member
- Registered: 19-06-2008
- Posts: 3983
Re: Pls add something to Image Dump
And now it's a lot better! 
Now we just need HOFDY's pics.
Pages: 1 2 Next
You must login or register to post a reply
wPge » Feedback » Pls add something to Image Dump