vp

git clone git://oldgit.suckless.org/vp/
Log | Files | Refs | README

vp-xhamster (233B)


      1 #!/usr/bin/env rc
      2 #
      3 # Pattern: ^http://xhamster.com/movies/
      4 
      5 . vp-base $0 $*
      6 
      7 vp_result `{vp_data $* | awk -F '^ *''|'' *: *''|''[,\r]' '
      8 	END { print a["srv"] "/" a["type"] "2/" a["file"] }
      9 	/^[ 	]*''[a-z]+'' *:/ { a[$2] = $3 }
     10 '}
     11