vp

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

vp-revision3 (514B)


      1 #!/usr/bin/env rc
      2 #
      3 # Pattern: ^http://revision3.com/
      4 #
      5 # Formats:
      6 #     hd.h264        MP4 High Definitiond
      7 #     hd720p30.h264  MP4 High Definition (30fps)
      8 #     large.h264     MP4 Larged
      9 #     small.h264     MP4 Smalld
     10 #     large.wmv9     WMV Larged
     11 #     small.wmv9     WMV Smalld
     12 #     large.xvid     Xvid Larged
     13 #     small.xvid     Xvid Smalld
     14 
     15 vp_revision3_formats = (hd.h264)
     16 
     17 . vp-base $0 $*
     18 
     19 vp_result `{vp_data $* | sed -n -e's/.*href="([^"]*--' ^ $vp_revision3_formats ^ '\.[^"]*).*/\1/p' | sed 1q}
     20