[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
What does /g/ use to batch-download all the images in a thread
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: 22
Thread images: 3
File: download.jpg (14 KB, 300x250) Image search: [Google]
download.jpg
14 KB, 300x250
What does /g/ use to batch-download all the images in a thread in Chrome? DtA is only for Firefox.
>>
function a4 () {

curl $1 > rFile;
cat rFile | egrep -o "i.4cdn.org/[a-zA-Z0-9_-]+/[0-9]+\.[webm|jpg|gif|png]+" | sort | uniq > downloadme
while read p; do
curl -O $p;
done < downloadme;
rm rFile downloadme

}
>>
>>51892245

I use Down Them All! :3
>>
>>51892245
downthemall is the shit

use all the time for porn and all my other downloading related needs
>>
>>51892265
>making a unique downloader for one purpose
>2015
>>
File: 1450251484554.jpg (97 KB, 325x415) Image search: [Google]
1450251484554.jpg
97 KB, 325x415
JDownloader 2
>>
>>51892265
>regex on html
there's an api now, it's quite lovely
>>
wget on linux and the version of jdownloader that doesn't have all the advertising all over it.
>>
alt+click on each file name
>>
>click the expand all images button
>ctrl-s
>go to resources folder that accompanies the HTML file
>grab all the non-thumbnail images out of there
>>
>>51892265
what language is that? Bash? Never seen a function in bash, how do you call it? Where does stuff download to? just current folder?
>>
>Right Click
>Save Page as
>>
>>51893949
You save functions into your ~/.bashrc.
Then you can call them just like every other program.
>>
>>51893957
so just

nigger@computer:~/Pictures$ a4

and then all the pictures in all boards on 4chan get downloaded into the Pictures folder? did I read that correctly?

Is there any way to sort by board? automatically?
>>
>>51892265
I really love bash
Just look at it. The () after the function name serves no fucking purpose and it's great.
>>
>>51893983
See the '$1' ? It takes one argument: the url of the thread you want to grab images from.
>>
>>51894010
Alright, so just

nigger@computer:~/Pictures$ a4(http://boards.4chan.org/g/thread/51892245/what-does-g-use-to-batchdownload-all-the-images)

Downloads all images from this thread into the Pictures folder?
>>
>>51894039
Nope. Space between function and arg. No parens
>>
>>51894054
I realised that just after pressing post.
>>
File: images.duckduckgo.com.jpg (27 KB, 600x600) Image search: [Google]
images.duckduckgo.com.jpg
27 KB, 600x600
>Down them all + anti container plugin

downloading full image albums from imagefap ez
>>
img2tab app which makes a new tab with all images
You can choose linked images or actual images on page


And then I use the DtA Selector tool
lel
>>
>>51893907
>>51893907
>>51893907
this
Thread replies: 22
Thread images: 3

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.