subscribe-bot/scrape/nominated.go

17 lines
323 B
Go
Raw Permalink Normal View History

package scrape
2020-10-15 12:37:21 -05:00
import (
"subscribe-bot/osuapi"
)
func (s *Scraper) scrapeNominatedMaps() {
2020-10-15 12:37:21 -05:00
events, _ := s.api.GetBeatmapsetEvents(&osuapi.GetBeatmapsetEventsOptions{
Types: []string{"nominate", "qualify"},
})
2020-10-15 12:37:21 -05:00
for _, event := range events {
2021-07-19 14:14:09 -05:00
(func(_ osuapi.BeatmapsetEvent) {})(event)
// fmt.Println(event)
2020-10-15 12:37:21 -05:00
}
}