scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 418dadb86eb043cabffae2a990d87f747ea77668
parent f9c1d71f5a71c801fa7ee5fa9d8f94d9075358a1
Author: cipher <haris@2f30.org>
Date:   Sun, 24 Nov 2013 11:38:05 +0200

changed to new domain content

Diffstat:
M4chanfetch | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/4chanfetch b/4chanfetch @@ -18,9 +18,9 @@ pullthread() { return 1 fi - egrep '//images.4chan.org/[a-z0-9]+/src/([0-9]*).(jpg|png|gif)' ${tmp} -o | uniq > ${tmp2} + egrep '//i.4cdn.org/[a-z0-9]+/src/([0-9]*).(jpg|png|gif)' ${tmp} -o | uniq > ${tmp2} - sed 's|//images|http://images|g' ${tmp2} > ${tmp} + sed 's|//i|http://i|g' ${tmp2} > ${tmp} cat ${tmp} | xargs -P 5 -I _URL_ ${wget_cmd} _URL_