diff --git a/go.mod b/go.mod index 173f2c4..2b6711a 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ module github.com/saveweb/aixifan -go 1.23.4 +go 1.23 require ( github.com/canhlinh/hlsdl v0.0.0-20240124081241-e7eb3b498559 - github.com/saveweb/go2internetarchive v0.1.3 + github.com/saveweb/go2internetarchive v0.1.4 github.com/tidwall/gjson v1.18.0 - golang.org/x/net v0.32.0 + golang.org/x/net v0.33.0 ) require ( diff --git a/go.sum b/go.sum index e107c0d..a330007 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/saveweb/go2internetarchive v0.1.3 h1:mQMCE0SjSjDytof0Oi6r3ubF3uhuOzj9QVlmXNMgwgc= -github.com/saveweb/go2internetarchive v0.1.3/go.mod h1:oWhhLOLOXugUbT/ZZ6PmRqZjTXKq4F9BhXDbXAqrucw= +github.com/saveweb/go2internetarchive v0.1.4 h1:Rd7KSt7zfVT7jXFliZuHR9segBgmivqdm5ayhb1Bl90= +github.com/saveweb/go2internetarchive v0.1.4/go.mod h1:HW6WG85jSs5+3ROK8wqtGNPnmMLmksFddQbLCsSFK7g= github.com/schollz/progressbar/v3 v3.17.1 h1:bI1MTaoQO+v5kzklBjYNRQLoVpe0zbyRZNK6DFkVC5U= github.com/schollz/progressbar/v3 v3.17.1/go.mod h1:RzqpnsPQNjUyIgdglUjRLgD7sVnxN1wpmBMV+UiEbL4= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= @@ -76,8 +76,8 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= -golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= diff --git a/pkg/uploader/up.go b/pkg/uploader/up.go index 47a0997..a946a0b 100644 --- a/pkg/uploader/up.go +++ b/pkg/uploader/up.go @@ -114,8 +114,8 @@ func Main(upCmd *flag.FlagSet, upDougaId string, upDelete bool) int { } if upDelete { + fmt.Println() for countdown := 5; countdown > 0; countdown-- { - fmt.Println() fmt.Printf("\rDeleting in %d seconds... (Ctrl+C to cancel)", countdown) time.Sleep(time.Second) }