ZBIGZ bash download script

Downloading files from zbigz is so cool !

You will feel sexier after doing it, trust me ! ^^

It is really simple to do it, you just have to use the options referer, user-agent, keep-session-cookies, load-cookies an save-cookies options as well and voilà, you are as ready as a monkey thrown into space !

Saw a bunch of younglins in foruns having problems with that. Tsc, tsc, tsc ... :)

Please be nice and share with your friends, uncle George, Momma and Gramps, on the great social intergalactical sites. like alienbook.com and grunter.com .

Here it is:

---8x---

#! /bin/bash

cookiefile="/tmp/andre.zbigz.cookies.txt"
postdata="&e-mail=your-e-mail&password=your-password"
download="http://zbigz.com/file/047ff818215d54c169ab769a2730aed333334/2"

if [ ! -f "$cookiefile" ]
then
   /usr/bin/wget --post-data=$postdata --save-cookies=$cookiefile --keep-session-cookies -O=/dev/null https://zbigz.com/login.php
fi

/usr/bin/wget -c --limit-rate=50000 --trust-server-names  --load-cookies=$cookiefile  --save-cookies=$cookiefile  --keep-session-cookies  $download

---8x---

Have a nice one.