func (c Client) QueryStashBoxScene(ctx context.Context, queryStr string) ([]*models.ScrapedScene, error) {
	scenes, err := c.client.SearchScene(ctx, queryStr)
	if err != nil {
		return nil, err
	}

	sceneFragments := scenes.SearchScene

	var ret []*models.ScrapedScene
	for _, s := range sceneFragments {
		ss, err := c.sceneFragmentToScrapedScene(ctx, s)
		if err != nil {
			return nil, err
		}
		ret = append(ret, ss)
	}

	return ret, nil
}
// QueryStashBoxScene queries stash-box for scenes using a query string.
QueryStashBoxScene queries stash-box for scenes using a query string.
// QueryStashBoxScene queries stash - box for scenes using a query string .
func (c Client) QueryStashBoxScene(ctx context.Context, queryStr string) ([]*models.ScrapedScene, error) {
	scenes, err := c.client.SearchScene(ctx, queryStr)
	if err != nil {
		return nil, err
	}
	sceneFragments := scenes.SearchScene
	var ret []*models.ScrapedScene
	for _, s := range sceneFragments {
		ss, err := c.sceneFragmentToScrapedScene(ctx, s)
		if err != nil {
			return nil, err
		}
		ret = append(ret, ss)
	}
	return ret, nil
}
func ( c Client ) QueryStashBoxScene ( ctx context . Context , queryStr string ) ( [ ] * models . ScrapedScene , error ) { scenes , err := c . client . SearchScene ( ctx , queryStr ) if err != nil { return nil , err } sceneFragments := scenes . SearchScene var ret [ ] * models . ScrapedScene for _ , s := range sceneFragments { ss , err := c . sceneFragmentToScrapedScene ( ctx , s ) if err != nil { return nil , err } ret = append ( ret , ss ) } return ret , nil }
QueryStashBoxScene queries stash-box for scenes using a query string.
QueryStashBoxScene queries stash - box for scenes using a query string .