/*
GetPage calls the scraper for the correct domain.
*/
GetPage calls the scraper for the correct domain.
/ * GetPage calls the scraper for the correct domain . * /
func GetPage(watcher *api.QueueResponse) (Response, error) {
	switch domain := watcher.Domain; domain {
	case "bol.com":
		return getBolComPage(watcher)
	case "ebay.nl":
		return getEbayNlPage(watcher)
	case "coolblue.nl":
		return getCoolblueNlPage(watcher)
	}
	return Response{}, fmt.Errorf("shop type '%s' not found", watcher.Domain)
}
func GetPage ( watcher * api . QueueResponse ) ( Response , error ) { switch domain := watcher . Domain ; domain { case " " : return getBolComPage ( watcher ) case " " : return getEbayNlPage ( watcher ) case " " : return getCoolblueNlPage ( watcher ) } return Response { } , fmt . Errorf ( " " , watcher . Domain ) }
GetPage calls the scraper for the correct domain.
GetPage calls the scraper for the correct domain .