B-Open / jobalert

An easier way to search for jobs by Bruneians for Bruneians.
MIT License
1 stars 0 forks source link

Handling duplicated job #37

Closed syahnur197 closed 2 years ago

syahnur197 commented 2 years ago

Since the worker will be running every night, there will be a situation where the worker might have scraped the existing job in the db. How do we address this?

dsychin commented 2 years ago

Using the job provider's primary key #38

The logic for the scraper would work something like this:

dsychin commented 2 years ago

Job and Company object includes the provider's job and company ID.

Still need to implement JobService to handle update/insert logic.