#!/bin/sh # Download video files with quvi. # # Don't use clive which is just a front-end to quvi, but with vulnerable # "exec" code (system with missing "escaping")! # Copyright (C) 2013 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # quvi handles the --exec correctly and escapes the input. exec quvi --format best --exec 'wget --no-clobber -O %t.%e %u' "$@"