From 5cd9c89c69bf877e9df63f204c823451f31ef079 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Wed, 8 Feb 2023 14:52:34 -0500 Subject: [PATCH] update dependencies --- go.mod | 2 +- go.sum | 4 ++-- main.go | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 477c7aa..4580923 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module gitlab.com/balki/ytui go 1.18 -require golang.org/x/net v0.2.0 +require golang.org/x/net v0.5.0 diff --git a/go.sum b/go.sum index 2195436..7993011 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/net v0.2.0 h1:sZfSu1wtKLGlWI4ZZayP0ck9Y73K1ynO6gqzTdBVdPU= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= diff --git a/main.go b/main.go index 8910f32..5d36f04 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,7 @@ var assetsFS embed.FS var ( ytdlCmd = []string{"youtube-dl"} videosPath = "./vids" - videosUrl = "/vids" + videosURL = "/vids" cachePath = "./cache" assetsPath = "./assets" saveAssets = false @@ -46,7 +46,7 @@ func parse() { flag.StringVar(&ytcmd, "ytdlcmd", ytcmd, "youtube-dl command seperated by spaces") flag.StringVar(&title, "title", title, "Title of the page") flag.StringVar(&videosPath, "videospath", videosPath, "Path where videos are saved") - flag.StringVar(&videosUrl, "videosurl", videosUrl, "Prefix of the url, i.e. https://domain.com//