Skip to content

Commit

Permalink
fix relative listing scrape bug
Browse files Browse the repository at this point in the history
  • Loading branch information
m1yon committed May 3, 2024
1 parent e51ecc7 commit 512f8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/linkedincrawler/linkedincrawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func scrape(db *sql.DB, options scrapeOptions) {
continue
}

relativeListingDate, err := jobPosting.Element(".job-search-card__listdate--new")
relativeListingDate, err := jobPosting.Element(".base-search-card__metadata > time")

if err != nil {
slog.Error("faled to query for relative listing date in job posting", slog.String("url", url.String()), tint.Err(err))
Expand Down

0 comments on commit 512f8dd

Please sign in to comment.