16 lines
323 B
Go
16 lines
323 B
Go
package scrape
|
|
|
|
import (
|
|
"subscribe-bot/osuapi"
|
|
)
|
|
|
|
func (s *Scraper) scrapeNominatedMaps() {
|
|
events, _ := s.api.GetBeatmapsetEvents(&osuapi.GetBeatmapsetEventsOptions{
|
|
Types: []string{"nominate", "qualify"},
|
|
})
|
|
|
|
for _, event := range events {
|
|
(func(_ osuapi.BeatmapsetEvent) {})(event)
|
|
// fmt.Println(event)
|
|
}
|
|
}
|