Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

siteA updated it's design #36

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scraper/sitea/sitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ func siteAJobListParser(baseURL string, doc *goquery.Document) []job.Job {
recent := false
titleCheck := false
companyLink, _ := s.Find("a[href^='/company/']").Attr("href")
jobLink, _ := s.Find("a[class='card-alias-after-overlay hover-underline link-visited-color text-break']").Attr("href")
jobTitle := s.Find("a[class='card-alias-after-overlay hover-underline link-visited-color text-break']").Text()
timePosted := s.Find("span.font-barlow.text-gray-03").Text()
jobLink, _ := s.Find("a[data-id='job-card-title']").Attr("href")
jobTitle := s.Find("a[data-id='job-card-title']").Text()
timePosted := s.Find("span.fs-xs.fw-bold.bg-gray-01.font-Montserrat.text-gray-03.rounded-1.py-xs.px-sm").Text()

// Split the companyLink on '/' and get the last part
parts := strings.Split(companyLink, "/")
Expand Down
Loading