summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2026-05-09 00:38:47 -0500
committermsglm <msglm@techchud.xyz>2026-05-09 00:38:47 -0500
commit8ee05796c4f65415f11719e4b1ff48b76380df7f (patch)
treec5579a298ecb359387c9a7b9be661ade29d985c1
parente15d891cd2133561994a92b63cdae35f57604494 (diff)
downloadgetmeajob-8ee05796c4f65415f11719e4b1ff48b76380df7f.tar.gz
getmeajob-8ee05796c4f65415f11719e4b1ff48b76380df7f.tar.bz2
getmeajob-8ee05796c4f65415f11719e4b1ff48b76380df7f.zip
better documentation and code doesnt crash0.0.2
-rw-r--r--contrib/example.toml16
-rw-r--r--getmeajob/getmeajob.py4
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!")