How do you batch download all pics from a thread with their original file names?
I tried a lot of things, but nothing really works.
How do you batch download all pics from a thread with their original file names?
I tried a lot of things, but nothing really works.
Other urls found in this thread:
ptpb.pw
boards.4ch*an.org
jsfiddle.net
pastebin.com
twitter.com
not being lazy
i have to download hundrets of pics each day
fetch the page using wget/curl or someshit
parse using sed/grep or someshit
done
Clover
There's also a fucking Jow Forums api and docs. Plz rajesh I know u can do it.
curl -s a.4cdn.org/g/thread/66324250.json | jq -r '.posts | .[] | select(.filename != null) | "\(.tim) \(.ext) \(.filename)"' | while read tim ext filename; do curl -s -o "$filename$ext" "is2.Jow Forums.org/g/$tim$ext"; done
Why dont you $1 the thread#?
This was just a practical example, OP can scriptify it.
Aight
i dont use linux
ptpb.pw
Usage: $ ./script.sh
should be boards.4ch*an.org
then kill yourself
Everything used (POSIX shell, curl, jq) you can run on Windows, just need something like MinGW or Cygwin.
In the meantime, get out winbaby.
my father has all work documents on this computer and i cant install linux with dual boot
1. You must be 18 years or older to post.
2. Get a job and get your own computer.
3. Already mentioned MinGW and Cygwin which add Linux-like tools and environments to Windows.
Fuck off shitskin.
mingw or cygwin don't require installing linux, idiot
come dude, its a really simple script
Jdownloader
fine, I'll spoon feed you. here's a script i wrote a while ago. Python2
Based phoneposting
>BeautifulSoup
why not use Jow Forums api, also python has builtin js parser module
i mean json
idk nigger it works
yeah sucking cock werks too fagit