Giter Site home page Giter Site logo

itsjafer / resume-parser Goto Github PK

View Code? Open in Web Editor NEW
203.0 3.0 39.0 71 KB

Google Cloud Function proxy that parses resumes using Lever API

Home Page: https://itsjafer.com/#/parser

Python 100.00%
resume parser resume-parser resume-parse parse-resume

resume-parser's Introduction

Resume Parser

Update: The API that this project used has been obfuscated and therefore this tool is no longer functional. :(

This repo hosts the Google Cloud function for querying Lever's resume parsing API.

While the Lever API is (probably unintentionally) public, it implements strict CORS. This lambda function is used as a proxy to facilitate server-to-server communication.

You can view a live demo here which calls this cloud function (whose trigger URL is https://us-central1-resume-parser-322517.cloudfunctions.net/parseResume-1)

How does this work?

Lever.co is a popular recruiting platform used by many companies. As job applicants, we often encounter Lever when applying for jobs. When applying to a job posting powered by Lever, if you pay attention to the network requests being made, you'll notice that a call to an internal Lever API is made. In particular, a post request is made to https://jobs.lever.co/parseResume which parses the resume through Lever's backend. My website is simply a front-end that displays the results of the parse in an easy-to-digest manner.

diagram

Note that the diagram is a bit outdated, I've switched from AWS Lambda to GCP Cloud Functions (which is a lot easier to use).

resume-parser's People

Contributors

itsjafer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

resume-parser's Issues

Blocked by CORS

The AWS endpoint recently started having issues with CORS and can't return the parsed results; not sure if this is due to Lever's API or the AWS Lambda.

Access to fetch at 'https://g5wkkduchj.execute-api.us-east-2.amazonaws.com/Prod' from origin 'https://itsjafer.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Tested on Edge/Chrome/Safari with and without incognito.

Parser fails to display text if no phone number provided

If a resume does not have a phone number, no error or text is displayed to the screen.

The console has an error saying that e.phones[0] is undefined. I believe this is because the response data returns an empty array and it's trying to access the first element. I can't find the source code for the front end, but I believe this can be easily remedied by adding a null check to return "None" for phone number if it can't find any.

Steps to replicate:
Submit any resume without a phone number. You can remove the phone number from your resume to test this.

Screenshot:
image

Analyzing the network response (not shown as it contains personal details) shows that the response data has phones as an empty array.

Blocked by CORS

This is probably an issue that you cannot solve but the error is

Access to fetch at 'https://us-central1-resume-parser-322517.cloudfunctions.net/parseResume-1' from origin 'https://itsjafer.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Hopefully you can spoof the header

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.