diff --git a/pkg/scraper/stashbox/stash_box.go b/pkg/scraper/stashbox/stash_box.go index 4206d300e..4a5b8712b 100644 --- a/pkg/scraper/stashbox/stash_box.go +++ b/pkg/scraper/stashbox/stash_box.go @@ -1027,6 +1027,17 @@ func (c Client) SubmitPerformerDraft(ctx context.Context, performer *models.Perf aliases := strings.Join(performer.Aliases.List(), ",") draft.Aliases = &aliases } + if performer.CareerLength != "" { + var career = strings.Split(performer.CareerLength, "-") + if i, err := strconv.Atoi(strings.TrimSpace(career[0])); err == nil { + draft.CareerStartYear = &i + } + if len(career) == 2 { + if y, err := strconv.Atoi(strings.TrimSpace(career[1])); err == nil { + draft.CareerEndYear = &y + } + } + } var urls []string if len(strings.TrimSpace(performer.Twitter)) > 0 {