Skip to content

Commit

Permalink
Fix data scraping for NA server
Browse files Browse the repository at this point in the history
  • Loading branch information
man90es committed Apr 22, 2024
1 parent 2d2dd93 commit 7c11dcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/GetStatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ func GetStatus(w http.ResponseWriter, r *http.Request) {
},
"proxies": len(config.GetProxyList()),
"uptime": time.Since(initTime).Round(time.Second).String(),
"version": "1.5.4",
"version": "1.5.5",
})
}
2 changes: 1 addition & 1 deletion scrapers/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (s *scraper) Visit(URL string) error {
"EU": "naeu.playblackdesert.com/en-US",
"KR": "kr.playblackdesert.com/ko-KR",
"SA": "sa.playblackdesert.com/pt-BR",
"US": "naeu.playblackdesert.com/en-US",
"NA": "naeu.playblackdesert.com/en-US",
}[s.region]

return s.c.Visit(fmt.Sprintf("https://www.%v/Adventure%v", regionPrefix, URL))
Expand Down

0 comments on commit 7c11dcf

Please sign in to comment.