Code Monkey home page Code Monkey logo

upwork-job-scraper's Introduction

Upwork Job Scraper Ecosystem

This repository consists of a comprehensive job scraping ecosystem designed to interact with the Upwork Job Board. The ecosystem incorporates various microservices for authentication, job fetching, and data enrichment. This setup ensures an efficient workflow with a focus on cost-effectiveness and modular design.

Table of Contents

Overview

The Upwork Job Scraper Ecosystem enables the collection, enrichment, and storage of job postings from the Upwork Job Board. Each microservice plays a distinct role in this workflow:

  1. Authenticator Lambda: Retrieves and manages authentication tokens required for accessing the Upwork API.
  2. Job Fetcher Lambda: Fetches job postings from Upwork utilizing the token and stores them in a PostgreSQL database.
  3. Data Enrichment Service: Enriches retrieved job postings by adding additional information (client statistics) to enhance data quality for downstream usage.

Microservices

Authenticator Lambda

Responsibilities:

  • Retrieves an authentication token from the Upwork API.
  • Caches the token in the PostgreSQL database via PostgREST.
  • Validates requests to ensure secure access to job-fetching processes.

Job Fetcher Lambda

Responsibilities:

  • Scheduled to extract ALL job postings from the Upwork Job Board.
  • Updates the PostgreSQL database with job postings, handling an average of around 6,000 job postings per day.
  • Utilizes the cached authentication token from the Authenticator Lambda; if the token is expired, it fetches a new one.

Data Enrichment Service

Responsibilities:

  • Enriches job postings with client data, enhancing the overall quality of the data available.
  • Provides two versions of enrichment:
  • Version 1: Operates locally and requires a logged-in Upwork account. This version is more expensive but ensures 100% data enrichment.
  • Version 2: A serverless implementation using AWS Lambda, offering a cost-effective method for data enrichment.
  • In cases where Version 2 fails to enrich data, Version 1 steps in to guarantee completion.

Architecture Diagram

Cost Efficiency

The ecosystem is designed with cost efficiency in mind:

  • The Authenticator Lambda caches tokens in PostgreSQL to minimize repeated fetches from the Zyte.
  • The Job Fetcher Lambda operates on a scheduled basis, reducing the frequency of API calls to the Upwork Job Board.
  • The Data Enrichment Service augments job postings without requiring constant fetching from the Upwork API, allowing for enhanced data quality while managing costs effectively.

With a well-structured architecture, the Upwork Job Scraper Ecosystem ensures efficient management of job postings, provides enriched data for analysis, and securely handles authentication throughout the process.

upwork-job-scraper's People

Contributors

asaniczka avatar

Stargazers

Adedapo Adeniran avatar AYUSH KHAIRE  avatar Shefali Chandra avatar Антон Зайцев avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.