Populate JobText from fetched page content in JobSearchResults
Previously always stored empty string; now stores the full page text returned by page-fetcher-api, which is already in scope at save time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -217,7 +217,7 @@ public sealed class CvSearchJobTask : IJobTask
|
|||||||
ProviderName = GuessProvider(url, providers),
|
ProviderName = GuessProvider(url, providers),
|
||||||
JobUrl = url,
|
JobUrl = url,
|
||||||
JobTitle = matchResult.Summary.Split('.').FirstOrDefault()?.Trim() ?? title,
|
JobTitle = matchResult.Summary.Split('.').FirstOrDefault()?.Trim() ?? title,
|
||||||
JobText = string.Empty,
|
JobText = jobText,
|
||||||
Score = matchResult.Score,
|
Score = matchResult.Score,
|
||||||
ResultJson = JsonSerializer.Serialize(matchResult, new JsonSerializerOptions(JsonSerializerDefaults.Web)),
|
ResultJson = JsonSerializer.Serialize(matchResult, new JsonSerializerOptions(JsonSerializerDefaults.Web)),
|
||||||
Email = session.Email,
|
Email = session.Email,
|
||||||
|
|||||||
Reference in New Issue
Block a user