2012-12-31 03:16:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class SvtplayDl < Formula
|
|
|
|
homepage 'https://github.com/spaam/svtplay-dl'
|
2013-06-14 18:36:59 +00:00
|
|
|
url 'https://github.com/spaam/svtplay-dl/archive/0.9.2013.05.06.tar.gz'
|
|
|
|
sha1 '246c0ccaf1df0656a8d5ee0df8cf14aac2fecd96'
|
2012-12-31 03:16:16 +00:00
|
|
|
|
|
|
|
depends_on 'rtmpdump'
|
|
|
|
|
|
|
|
def install
|
2013-06-14 18:36:59 +00:00
|
|
|
bin.install 'svtplay-dl'
|
2012-12-31 03:16:16 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
You need PyCrypto (https://www.dlitz.net/software/pycrypto/) to
|
|
|
|
download encrypted HLS streams.
|
|
|
|
You need PyAMF (http://www.pyamf.org/) for kanal5play.se.
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|