19 ms·
Hey, a friendly reminder. I’m parsing the thread, all job offers added here are also available on the map on https://whoishiring.io https://whoishiring.io htt
by xando 9y ago
Hey, a friendly reminder. I’m parsing the thread, all job offers added here are also available on the map on
https://whoishiring.io https://whoishiring.io
https://whoishiring.io/search/36.0440/-90.8984/4?source=hn https://whoishiring.io/search/36.0440/-90.8984/4?source=hn (just HN items)
If you post here, please use the below format to help me with parsing. If you won’t, no worries, I will do my best to get all the things right.
1) {company} | {job title} | {location} | {attrs: ONSITE, REMOTE, INTERNS, VISA, SALARY, company-url}
Google | Software Developer | SF | VISA https://google.com
DuckDuckGo | Software Developer | Paoli PA | REMOTE, VISA, SALARY:100k-120k
Facebook | Web-developer | Zurich | SALARY:120k CHF
Google | Site Reliability Engineer | London | SALARY:120k GBP, VISA, REMOTE
or
2) {company} | {job title} | {location}
Google | Site Reliability Engineer | Sydney
Facebook | Web-developer | Zurich
I’m using this regex to test the first line, you can test it here https://regex101.com/r/relwQD/3 https://regex101.com/r/relwQD/3
\s*(?P<company>[^|]+?)\s*\|\s*(?P<title>[^|]+?)\s*\|\s*(?P<locations>[^|]+?)\s*(?:\|\s*(?P<attrs>.+))?$
Check bellow for the SALARY regex.
SALARY:(?P<salary_min>\d+(?:k|K)?)(?:\s*\-\s*(?P<salary_max>\d+(?:k|K)?)?)?(?:\s?(?P<currency>[A-Z]{3}))?
and you can test it as well https://regex101.com/r/SRWkMz/2/ https://regex101.com/r/SRWkMz/2/
- chrissnell 9y agoAny idea why my posting's title is presenting a little strangely in your search tool? The location looks to be concatenated onto the job title. https://whoishiring.io/s/hn14901342 https://whoishiring.io/s/hn14901342 Thanks for doing this. This is fantastic!
- xando 9y agoDespite the best efforts, sometimes jobs items might have wrong matches. There is a report button though, I usually fix them in few moments if my keyboard is around. Thanks!