svtplay-dl: style tweak
This commit is contained in:
parent
0cb9a00c0e
commit
a17d7986b9
1 changed files with 6 additions and 2 deletions
|
@ -69,7 +69,11 @@ class SvtplayDl < Formula
|
|||
|
||||
test do
|
||||
url = "https://tv.aftonbladet.se/abtv/articles/244248"
|
||||
assert_match "https://absvpvod-vh.akamaihd.net/i/2018/02/cdaefe0533c2561f00a41c52a2d790bd/,1280_720_2800,960_540_1500,640_360_800,480_270_300,.mp4.csmil/index_0_av.m3u8",
|
||||
shell_output("#{bin}/svtplay-dl -g #{url}")
|
||||
match = <<~EOS
|
||||
https://absvpvod-vh.akamaihd.net/i/2018/02/cdaefe0533c2561f00a41c52a2d790bd
|
||||
/,1280_720_2800,960_540_1500,640_360_800,480_270_300,.mp4.csmil
|
||||
/index_0_av.m3u8
|
||||
EOS
|
||||
assert_match match.delete!("\n"), shell_output("#{bin}/svtplay-dl -g #{url}")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue