diff options
| author | msglm <msglm@techchud.xyz> | 2026-05-09 00:38:47 -0500 |
|---|---|---|
| committer | msglm <msglm@techchud.xyz> | 2026-05-09 00:38:47 -0500 |
| commit | 8ee05796c4f65415f11719e4b1ff48b76380df7f (patch) | |
| tree | c5579a298ecb359387c9a7b9be661ade29d985c1 | |
| parent | e15d891cd2133561994a92b63cdae35f57604494 (diff) | |
| download | getmeajob-0.0.2.tar.gz getmeajob-0.0.2.tar.bz2 getmeajob-0.0.2.zip | |
better documentation and code doesnt crash0.0.2
| -rw-r--r-- | contrib/example.toml | 16 | ||||
| -rw-r--r-- | getmeajob/getmeajob.py | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/example.toml b/contrib/example.toml index dde10a1..a67801c 100644 --- a/contrib/example.toml +++ b/contrib/example.toml @@ -1,14 +1,14 @@ [aviation] -sites=["indeed", "zip_recruiter", "google", "glassdoor", "bayt", "naukri"] +sites=["indeed", "zip_recruiter", "google", "glassdoor", "bayt", "naukri"] #Sites you wish to use #sites=["indeed", "linkedin", "zip_recruiter", "google", "glassdoor", "bayt", "naukri", "bdjobs"] -search="Entry level Aviation Technician" -location="Phoenix, Arizona" -country="USA" -results_wanted=200 -hours_old=336 -proxy=false +search="Entry level Aviation Technician" #The search querty to put into the sites +location="Phoenix, Arizona" #The location of the jobs you're looking for +country="USA" #The country you're looking for +results_wanted=200 #The amount of results you want +hours_old=336 #The oldness you're willing to tolerate +proxy=false #If you wish to use a proxy or not, sometimes unstable due to using free proxies automated_questions = [ "Does this job require a college diploma?", "Does this job offer PTO?", "Is there a listed salary?" -] +] #LLM questions to probe each job listing for automatically diff --git a/getmeajob/getmeajob.py b/getmeajob/getmeajob.py index b78d4e3..cec1df1 100644 --- a/getmeajob/getmeajob.py +++ b/getmeajob/getmeajob.py @@ -8,7 +8,7 @@ from jobspy import scrape_jobs import argparse from fp.fp import FreeProxy from jinja2 import Template -from llama_cpp import Llama +#from llama_cpp import Llama template = Template(""" {# jobs is a list of dicts with the fields you specified #} @@ -138,6 +138,6 @@ def main(): # print(qanda) - open(args.output_file, "w", encoding="utf-8").write(template.render(jobs=jobsdict))) + open(args.output_file, "w", encoding="utf-8").write(template.render(jobs=jobsdict)) print("Wrote file!") |
