move point to raise exception
[sunny256-utils.git] / hentfilm
blobeb73e3754042bedbfbaeaadfbf9f1da25e142f71
1 #!/usr/bin/env bash
3 # hentfilm
4 # File ID: 07388710-5d3b-11df-9302-90e6ba3022ac
6 # wget -bx `sget "$@" | urlstrip | egrep -i '\.(mpg|mpeg|avi|wmv|mng|mov)'`
7 if [ "$1" = "-b" ]; then
8 patt='*.png,*.jpg'
9 shift
10 else
11 patt='*.png,*.jpg,*.mpg,*.mpeg,*.avi,*.wmv,*.mng,*.mov,*.asx'
13 wget -l 1 -Hbxr -nc -A $patt -U 'Mozilla/4.78 [en] (X11; U; Linux 2.4.9-31 i686)' "$@"