Skip to content

Commit

Permalink
impl (orchester): adding a start function to choose between websites …
Browse files Browse the repository at this point in the history
…from download animes
  • Loading branch information
KitsuneSemCalda committed Aug 25, 2024
1 parent 2d2c447 commit 3242e9f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions internal/Orchester/start.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package orchester

import (
"fmt"

argparse "animatic-v2/internal/Argparse"
network "animatic-v2/internal/Network"
)

const (
MainSite string = "https://animefire.plus"
FallbackSite string = "https://vizer.in"
)

func Start(args argparse.Args) {
websiteChooseStructure := network.ChooseWebsite(MainSite, FallbackSite, args.Debug)
websiteChoosedUrl := websiteChooseStructure.ChooseBetweenWebsites()

fmt.Println(websiteChoosedUrl)
}

0 comments on commit 3242e9f

Please sign in to comment.