Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Job Application Fields to Markdown

req--job_fields.livemd

Job Application Fields to Markdown

Mix.install([
  {:kino, "~> 0.6.1"}
  {:kino_lab, "~> 0.1.0-dev", github: "jonatanklosko/kino_lab"},
  # {:kino_vega_lite, "~> 0.1.1"},
  # {:kino_db, "~> 0.1.1"},
  {:req, github: "wojtekmach/req"},
  {:req_easyhtml, github: "wojtekmach/req_easyhtml"},
])

Summary

Using the excellent req library, we want to get the HTML of the job post application url and convert all form fields to markdown.

Specifications

  1. Detect ATS system, one of [breezyhr, greenhouse, lever, unknown]
  2. If :
    1. Use req to download the full HTML page into data/#{host}/#{hash}.apply.html.
  3. If :
    1. Ask to overwrite?
    2. Skip to next step (3).
  4. Parse HTML into Markdown
    1. Pandoc
    2. Manually
    3. EasyHTML?

Code