Skip to content

Commit

Permalink
fix update method to download all separate technologies files from wa…
Browse files Browse the repository at this point in the history
…ppalyzer
  • Loading branch information
rverton committed Oct 6, 2021
1 parent 16b2d69 commit 71f6751
Show file tree
Hide file tree
Showing 3 changed files with 36,430 additions and 21,018 deletions.
4 changes: 2 additions & 2 deletions cmd/webanalyze/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ func main() {
}

if update {
err = webanalyze.DownloadFile(webanalyze.WappalyzerURL, "technologies.json")
err = webanalyze.DownloadFile("technologies.json")
if err != nil {
log.Fatalf("error: can not update apps file: %v", err)
}

if !silent {
log.Println("app definition file updated from ", webanalyze.WappalyzerURL)
log.Println("app definition file updated")
}

if host == "" && hosts == "" {
Expand Down
Loading

0 comments on commit 71f6751

Please sign in to comment.