File :-(, x, )
Anonymous
Hi /hr/!

I just realised I had a script running that downloads pics from /hr/ and well, it's been running for some time now. I completlly forgotten about it and I don't know how long the pics will stay up.

http://playground.studio404.org/4down/hr/

I know the gallery sucks balls, but it was done very fast, not something to browse over 54k of pics.

cid@electra:~/sites/4down/public/hr> du -sk
67238844

yeah, nearly 70gigs of pics ;-)

Pic unrelated. Just the biggest there was.
>> Anonymous
you need to .rar that shit and megaupload it ...
>> Anonymous
>>361269
70 gigs? I wish.
>> Legion !!IHnFZHLdMXT
>>361267
You sir, are teh winrar. I'm about halfway through downloading.
>> Legion !!IHnFZHLdMXT
On a side note, how much bandwidth do you have?
>> Anonymous
Can you explain how to make a script like this, or better give us yours?
>> Anonymous
>>361365
>>361416
So, which anon is going to download them all, and make the rest of anon a fatty torrent of it?'
Cut out all the shit with a side less than 2k pixels, while yer at it, call it "best of /hr/"
>> Anonymous
>>361419
More than that would be needed. There are low quality and blank images over 2k in there.
>> Anonymous
>>361416
Seconded

>>361419
Seconded, again "/hr/ volume 1", then "/hr/ volume 2" when another 100 gigs or so are up again, so on and so forth....epic potential
>> Anonymous
script nao plx
>> Anonymous
megaupload a rar of it
>> Anonymous
>>361483
>>361476
>>361416
Yes. OP, ew request the source to your script. Anon requires its immediate use.
>> Anonymous
bumping epic thread
>> Anonymous
>>361488
1000 internets to whoever provides the script
>> Anonymous
fucking win
>> Anonymous
we need this script
>> Anonymous
Script?
>> Anonymous
Any chance you could provide an alternative version of the page where the oldest image is on page 1 and the newest on the last?
>> Anonymous
>>361558
Seconded. That would suit my tastes better~~
>> Anonymous
Also, it would be awesome if the original filenames were saved as well.

What language is this written in?
>> Anonymous
OP, please please please post this script
>> Anonymous
It's DOWN NOOOO!!!!!!!!!!!
>> Legion !!IHnFZHLdMXT
>>361643
It's not down, it's just super slow. It could be that I've been raping it at 2mb for 24 hours now, but I doubt it.
>> Anonymous
OP here.

There are 2 scripts. Both of them written in Ruby. The first one downloads stuff to a folder, the second one transports the new files to the website folder, gets the width and height and adds to the database.

I'm guessing you are interested only in the first one. It's really simple, it has around 100 lines. I've written it long long time ago so when I'm done going through it one more time I'll post it.
>> Legion !!IHnFZHLdMXT
>>361672
Hey OP, can you make a single index for all the files? This page by page shit is getting really annoying. It's taking forever.
>> Anonymous
>>361679

Not really sure about it. If I do it the bandwidth will be smoked in no time. I'll think about it.
>> Legion !!IHnFZHLdMXT
>>361684
I guess you don't really need to, I've already been at this for 24 hours, what's another 24?
>> Anonymous
Epic thread is epic
>> Anonymous
>>361684

Thanks for coming back OP. Any chance you could do that alternative index file with the newest file last?
>> Anonymous
o lawd, is dat sum cp on page 245???
>> Anonymous
>>361819
aw shit!

>>361267
RUN!!!
>> Legion !!IHnFZHLdMXT
>>361819
I don't think it's CP, as the mods here didn't throw a shit fit.
>> Anonymous
>>361832
Do you remember it being posted?

Perhaps it got deleted fast, but not before the script could grab it.
>> Anonymous
http://playground.studio404.org/4down/hr/1211460841899.jpg
>> Anonymous
When's OP got the script?
>> Anonymous
2 questions:
does this dl the whole thread or just the images on the main board?

Can it work for /s/ or /wg/?
>> Anonymous
>>361850
will it work on other chans like 7chan or 420chan?
>> Anonymous
Will it be able to cure cancer?
>> Anonymous
BUMP FOR GREAT JUSTICE
>> Anonymous
GODDAMN I MUST HAVE THIS SCRIPT!
>> Anonymous
bump
>> Anonymous
>>361858
only the kind that is killing the internet
>> Anonymous
hm...
http://playground.studio404.org/4down/hr/?page=2747
It seems I've saved that Bubblegum Crisis picture 11th of november 2007 so I guess that'd tell how long this script has been running.
>> Anonymous
anon has been waiting far too long for this script to be posted.

can someone make this one work?? I found it from /w/ but it mangles the images and I can't seem to get it to work at all for /hr/. It's in python 2.3+

http://gorilla3d.com/4chan.zip
>> Anonymous
what's the source of the op image by the way
>> Anonymous
>>362024
1st relevant post ITT.
you don't need script morons, only intellignece and wget (or curl)
>> Anonymous
>>362035
sure, I could do what I've been doing forever

OR

I could use technology to aid me and save me time and free me from sitting in front of /hr/ dling every thread


Did I ever mention that I hate the industrial revolution?
>> Anonymous
Fuck you all! Fuck anon and fuck 4chan!

I have been waiting for 2 fucking days for a simple script!

you all fail massively at life
>> Anonymous
>>362057

>you all fail massively at life

How very ironic, coming from an annoying newfag such as yourself.

The OP doesn't owe you or any of us anything.

Now STFU and GTFO.
>> Anonymous
>>362020
WTF R U talkin about --- this script works and its great~
Under Ubuntu - type in your terminal "python 4chan.py" without the quotes and its golden!
>> Anonymous
>>362024
Hininden: Gauss (???-????????-)
>> Anonymous
>>362072
wut about XP??
>> Anonymous
Ok, OP here

Here is the script. It moght work for other 4chan boards, It should, but I'm not sure. Just look at the regular expressions, if it doesn't it should be childs play to chang it. You might as well ignore the first Logger class, it just for logging purposes. The script probably won't work straight off, you have to change some dirs variables and know ruby 101 for some minor changes.

http://paste2.org/p/36580

I honestly don't care what you do with the code. But if you upgrade it/rewrite it in different language it would be awesome if you let me know. Apart from that, have fun.
>> Anonymous
call me a newfag, but how exactly do you run it?
>> Anonymous
>>362081

1. Install Ruby
2. Save the sript to a file (ex. 4down.rb)
3. type ruby 4down.rb
4. ???
5. Profit

Ok, on a serious note. THIS NOT A UNIVERSAL SCRIPT. It's just for the guys who know some basic programming and are interested how it's done. You have to change some directory variables, and for the love of jesus, delete line 206, it's just adds little randomness to my script (by waiting 5-14minutes before the actual thing runs).
>> Anonymous
>>362080

Oldest to newest index alternative plz?
>> Anonymous
     File :-(, x)
>>362072

I've got it working fine, but the downloaded images don't download (if that makes sense)
It creates files but they have no pictures in them

all I did was change the URLs it downloads from, nothing else

Pic related
>> Anonymous
>>362074
thanks
>> Anonymous
>>362086

It's done. Not in the form of an alternative but as a standard solution ;)
>> Anonymous
>>362093

Leech protection ? :D
>> Anonymous
>>362102
not new to the internets, I swear, but new to scripting

just please tell me how to fix it
>> Anonymous
>>362103

Don't know. I have not seen the python script, but if you don't write the script with some of the protections in mind, you won't download the pics. It's just a guess, I really don't know whats wrong with the other script.
>> Anonymous
>>362105

http://paste2.org/p/36592
>> Anonymous
>>362101

I. FUCKING. LOVE. YOU. 4. EVA. S.R.S.L.Y.!

Thanks!
>> Anonymous
>>362105

Protections?

(Anyway, well done OP! New to scripting, but there's a first time for everything éh!)
>> Anonymous
that is really cool.. could be better if you deleted all the non-hr stuff
>> Anonymous
>>362107
can someone plx get this to work??

>>362105
What do you mean by "Protections"?
>> Anonymous
sauce for OP pic ?
>> Anonymous
bump
>> Anonymous
>>362338
rinsin = artist

was some ninja stuff
theres even a hentai episode out there
forgot name though
>> Anonymous
     File :-(, x)
sweet keep this up. Be good if you could increase the amount shown per page and maybe order by size or something.

Keep it updated though its an awesome resource.

Have some HR suicide girls for your trouble
>> Anonymous
>>362301

4chan has as much leech protection as putting Elmer's glue all over your pen­is, waiting for it to dry, and then using it as a prophylactic.
>> Anonymous
>>362559

THEN HOW DO YOU GET AROUND IT???
>> Anonymous
>>362559

THEN HOW DO YOU GET AROUND IT???
>> Anonymous
PMed the creator of the python script on youtube, he's working on it personally
>> Anonymous
>>362788
you set your user agent dumbass
>> Anonymous
>>362035
BWAHAHAHAHA you obviously havent had to whore 7 thread on /b/ that didn't suck at once.

ok linux fags i'll share. http://weedy.1.vg/threadget.pl
>> HR Fag
>>361353
Legion, will you make a torrent out of it ?
>> Anonymous
>>362878
me again

OP if you need more bandwidth I'm pretty sure I have a couple TB laying around (couple TB of space too).