func (g group) fragmentScraper(input Input) *scraperTypeConfig {
	switch {
	case input.Performer != nil:
		return g.config.PerformerByFragment
	case input.Gallery != nil:
		// TODO - this should be galleryByQueryFragment
		return g.config.GalleryByFragment
	case input.Scene != nil:
		return g.config.SceneByQueryFragment
	}

	return nil
}
// fragmentScraper finds an appropriate fragment scraper based on input.
fragmentScraper finds an appropriate fragment scraper based on input.
// fragmentScraper finds an appropriate fragment scraper based on input .
func (g group) fragmentScraper(input Input) *scraperTypeConfig {
	switch {
	case input.Performer != nil:
		return g.config.PerformerByFragment
	case input.Gallery != nil:
		return g.config.GalleryByFragment
	case input.Scene != nil:
		return g.config.SceneByQueryFragment
	}
	return nil
}
func ( g group ) fragmentScraper ( input Input ) * scraperTypeConfig { switch { case input . Performer != nil : return g . config . PerformerByFragment case input . Gallery != nil : return g . config . GalleryByFragment case input . Scene != nil : return g . config . SceneByQueryFragment } return nil }
fragmentScraper finds an appropriate fragment scraper based on input.
fragmentScraper finds an appropriate fragment scraper based on input .
// TODO - this should be galleryByQueryFragment