slight dl-only PoC

This commit is contained in:
2026-01-21 15:40:40 -05:00
parent 1b9437fea9
commit 9345a941fb
6 changed files with 90 additions and 11 deletions

View File

@@ -1,7 +1,18 @@
package main
import "fmt"
import (
"fmt"
"os"
)
func main() {
fmt.Println("Hello bitches")
out_dir := os.Getenv("OUT_DIR")
var url string = "https://www.youtube.com/watch?v=e_isb3YDUDA"
if out_dir == "" {
panic("No output dir specified")
}
downloadVideo(out_dir, url)
}