Skip to content

Commit

Permalink
lower npc name
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Jan 28, 2024
1 parent 7040fd7 commit 8f3474f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ func getAlmOfferingReceiver(date string) string {
}

var receiver string
doc.Find("#almanax_boss_desc span").Each(func(i int, s *goquery.Selection) {
receiver = s.Text()
doc.Find("#achievement_dofus .mid .more .more-infos p").First().Each(func(i int, s *goquery.Selection) {
receiver = s.Text()[20:] // delete "Quest: Offering for " from string
})
return receiver
}
Expand Down

0 comments on commit 8f3474f

Please sign in to comment.