Hey Cred Forums, done this linux script yesterday. It downloads all files of any Cred Forums thread. Enjoy it!
Hey Cred Forums, done this linux script yesterday. It downloads all files of any Cred Forums thread. Enjoy it!
Another pic here :)
These can be knocked together in basically any language in around 15 minutes.
Stop posting garbage.
Why should I use this over ychan?
I know, but I'm not used to Linux scripting and i did this one.
If you don't like it, feel free to get the fuck out of my thread, fag.
This.
It is just a simple linux script. Didn't know about ychan.
>I'm a pleb who did some super simple shit and everyone should pay attention to me and praise me.
kys.
while true; do
wget -e robots=off --no-use-server-timestamps --https-only -rHDi.4cdn.org -nc -nd -c -ERs.jpg,html -P ~/Pictures/$2 $1
sleep 10
done
usage: Cred Forums threadlink foldername
usage example: Cred Forums memes
Ctrl C to stop
>inb4 im a girl and i like to code. Give me that attention.
maybe if you type 1 character every 30 seconds
>-rHDi.4cdn.org
>It downloads all files of any Cred Forums thread. Enjoy it!
Why the fuck would anyone even want this? I'm not wasting drive space on any of the shit that gets posted here. Mook archives it for you, anyways.
downloading jpegs would download thumbnails aswell
choosing filetype is retarded
whats wrong with this
Nope, thumbnails and pictures are in different urls.
Images are in i.4cdn/imgid
I guess I missed something
Still filetypes is retarded it should get everything
Sorry, goes in the same dir, but there is a "s" before filetype. Maybe yes maybe no, there is just a bunch of filetypes here, so it is not so hard to re execute it.
>not just using downthemall
Any idea how to do this but with facebook images? There are lots of albums that I need to download.
>inb4 muh quality
Doesn't matter
looks like a hassle to type the script and 3 arguments each time..
improve it , make it take only one argument (thread url ) and let the script figure out the rest
DTA! is so versatile it can even preserve the original filename.
Thanks user
Would it be possible to download all files (like all pngs and jpgs, etc.) at once?
you can do this more efficiently with a wget/curl and a bash alias
function 4dl() { wget -H -nd -r -Di.4cdn.org -A '.jpg,.jpeg,.png,.gif,' --no-check-certificate -erobots=off "$1"; }
add to .bash_profile, downloads everything from the thread (unfortunately including thumbnails) and saves to the current dir