From 7c11dcfb370626ae12ffa2b36c508566d0f9125c Mon Sep 17 00:00:00 2001 From: man90 Date: Mon, 22 Apr 2024 21:18:07 +0200 Subject: [PATCH] Fix data scraping for NA server --- handlers/GetStatus.go | 2 +- scrapers/scraper.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/GetStatus.go b/handlers/GetStatus.go index f2bf04f..3eb1356 100644 --- a/handlers/GetStatus.go +++ b/handlers/GetStatus.go @@ -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", }) } diff --git a/scrapers/scraper.go b/scrapers/scraper.go index 43bc047..02a56a5 100644 --- a/scrapers/scraper.go +++ b/scrapers/scraper.go @@ -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))