#!/bin/bash
url="$1"
agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0"
wget "$url" -O-|grep "_blank"|cut -d\" -f4,7|cut -d\< -f1|sed 's/">/|/g'|while read file
do
link="$(echo $file|cut -d\| -f1)"
title="$(wget --user-agent="$agent" "$link" -O-|grep 'banner_'|cut -d\= -f3|cut -d\" -f1)"
parm="$(wget "$link" -O-|grep -i -A 3 "^