diff options
| author | Ted Pennings | 2014-01-01 15:50:49 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-01 21:22:57 +0000 |
| commit | 04e337dbf16e1167e63da772a9d892dd2249541b (patch) | |
| tree | a1a3e59d2935d297c53e9f9903c99c1a14fcfa45 | |
| parent | 77375efe218c75c119840349581d116241b67167 (diff) | |
| download | homebrew-04e337dbf16e1167e63da772a9d892dd2249541b.tar.bz2 | |
youtube-dl 2013.12.26
Also add a test.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/youtube-dl.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/youtube-dl.rb b/Library/Formula/youtube-dl.rb index 148d01de4..78104ffbf 100644 --- a/Library/Formula/youtube-dl.rb +++ b/Library/Formula/youtube-dl.rb @@ -2,8 +2,8 @@ require 'formula' class YoutubeDl < Formula homepage 'http://rg3.github.io/youtube-dl/' - url 'http://youtube-dl.org/downloads/2013.12.11.2/youtube-dl-2013.12.11.2.tar.gz' - sha1 '04a29b9bd69f74fa276546fe997e89bf123aa222' + url 'https://yt-dl.org/downloads/2013.12.26/youtube-dl-2013.12.26.tar.gz' + sha1 '4cbd9c8ed452dea57dcc5b91469efb2525bd9469' def install system "make", "youtube-dl", "PREFIX=#{prefix}" @@ -15,4 +15,8 @@ class YoutubeDl < Formula def caveats "To use post-processing options, `brew install ffmpeg`." end + + def test + system "#{bin}/youtube-dl", '--simulate', 'http://www.youtube.com/watch?v=he2a4xK8ctk' + end end |
