diff --git a/main.go b/main.go index 49ee773..f6bf768 100644 --- a/main.go +++ b/main.go @@ -1,9 +1,7 @@ package main import ( - "os" "os/exec" - "time" "git.milar.in/milarin/channel" "git.milar.in/nyaanime/logic" @@ -27,17 +25,6 @@ func main() { panic(err) // TODO error handling } - //anime := adverr.Must(logic.SearchAnimeByTitle("トモちゃんは女の子!")) - //animeEp1 := model.AnimeEpisode{Anime: anime, Episode: 2} - //animeEp2 := model.AnimeEpisode{Anime: anime, Episode: 3} - //animeEp3 := model.AnimeEpisode{Anime: anime, Episode: 4} - //PrepareTelegramAnimeEpMessage(animeEp1) - //PrepareTelegramAnimeEpMessage(animeEp2) - //PrepareTelegramAnimeEpMessage(animeEp3) - - time.Sleep(time.Minute) - os.Exit(0) - logic.PrintPriorityTables() fileChan, err := WatchDirectory(fsnotify.Create, DownloadPath)