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