From d12106d91a2d80bf9856d6dbfaa3d261b3364282 Mon Sep 17 00:00:00 2001 From: IchBinLeoon <50367411+IchBinLeoon@users.noreply.github.com> Date: Sat, 4 Dec 2021 16:51:39 +0100 Subject: [PATCH] Fix hanime api url --- cmd/get.go | 2 +- cmd/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/get.go b/cmd/get.go index 9185c60..9de2208 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -16,7 +16,7 @@ import ( "github.com/spf13/cobra" ) -const videoFromSlug = "https://hw.hanime.tv/api/v8/video?id=" +const videoFromSlug = "https://hanime.tv/api/v8/video?id=" var tmpPath string diff --git a/cmd/root.go b/cmd/root.go index cd15a42..d757943 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -9,7 +9,7 @@ import ( var rootCmd = &cobra.Command{ Use: "hanime", - Version: "1.0.5", + Version: "1.0.6", Short: "Command-line tool to download videos from hanime.tv", Long: "Command-line tool to download videos from hanime.tv\n\nComplete documentation is available at https://github.com/IchBinLeoon/hanime", }