curated jobs and tags

This commit is contained in:
Doar Mihai
2026-04-04 20:37:35 +03:00
parent feb964f3f6
commit adca106244
10 changed files with 282 additions and 4 deletions
@@ -80,9 +80,11 @@ class AdzunaTransformer implements JobTransformer
$description = strtolower($data['description'] ?? '');
$location = strtolower($data['location']['display_name'] ?? '');
return str_contains($title, 'remote') ||
str_contains($description, 'remote') ||
str_contains($location, 'remote');
// this gives false positives, find a better way, until then should be false
// return str_contains($title, 'remote') ||
// str_contains($description, 'remote') ||
// str_contains($location, 'remote');
return false;
}
private function parseDate(?string $date): ?DateTime