shithub: docs.9front.org

Download patch

ref: 69199682fe2d8dc467b71fca8b5195fe87b04beb
parent: 0c2e9d8489769925cc7eca6348bacc3fce461e84
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Sep 15 10:57:57 EDT 2020

youtube: fix the script?

--- a/youtube.md
+++ b/youtube.md
@@ -24,11 +24,11 @@
 
 	#!/bin/rc
 	rfork ne
-	vitag=`{youtubedr -info $1 | awk '/av01/ { print $2; exit }'}
+	vitag=`{youtubedr -info $"1 | awk '/av01/ { print $2; exit }'}
 	if(~ $#vitag 0)
-		treason `"{youtubedr -i 18 -o /tmp/_vid.mp4 $1}
+		treason `"{youtubedr -i 18 -o /tmp/_vid.mp4 $"1}
 	if not
-		treason -a `"{youtubedr -i 140 -o /tmp/_aud.mp4 $1} `"{youtubedr -i $vitag -o /tmp/_vid.mp4 $1}
+		treason -a `"{youtubedr -i 140 -o /tmp/_aud.mp4 $"1} `"{youtubedr -i $vitag -o /tmp/_vid.mp4 $"1}
 	#rm -f /tmp/_^(aud vid)^.mp4
 
 ## Caveats