From 9ddf2074ed2362bf6243181ffbd874d1c72dcaaa Mon Sep 17 00:00:00 2001 From: ccppi Date: Thu, 13 Jun 2024 12:11:48 +0200 Subject: [PATCH] d --- lib/conf | 55 -------------------------------------------------- lib/helpers.py | 2 +- 2 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 lib/conf diff --git a/lib/conf b/lib/conf deleted file mode 100644 index 1bcddef..0000000 --- a/lib/conf +++ /dev/null @@ -1,55 +0,0 @@ - -[jobagent.ch] -USER = test@gmx.ch -PW = ASK -LOGINURL = https://www.jobagent.ch/user/login -SCRAPURL = https://www.jobagent.ch/search?terms=Automatiker&lra=0&as=0 -TAG = Automatiker - - -[software-job.ch-application-engineer] -USER = NONE -PW = NONE -LOGINURL = NONE -SCRAPURL = https://software-job.ch/application-engineer -TAG = Informatiker - -[software-job.ch] -USER = NONE -PW = NONE -LOGINURL = NONE -SCRAPURL = https://software-job.ch/python-entwicklung -TAG = Informatiker,Python - -[jobs.ch_linux] -USER = NONE -PW = NONE -LOGINURL = NONE -SCRAPURL = https://www.jobs.ch/en/vacancies/?term=linux -TAG = Informatiker,Linux - - -[jobagent.ch-2] -USER = test@gmx.ch -PW = ASK -LOGINURL = https://www.jobagent.ch/user/login -SCRAPURL = https://www.jobagent.ch/search?terms=Informatiker&lra=0&as=0 -TAG = Informatiker - -[jobs.ch] -USER = NONE -PW = NONE -LOGINURL = NONE -SCRAPURL= https://www.jobs.ch/en/vacancies/?term=automatiker -TAG = Automatiker - -[jobs.ch_informatiker] -USER = NONE -PW = NONE -LOGINURL = NONE -SCRAPURL= https://www.jobs.ch/en/vacancies/?term=informatiker -TAG = Informatiker - - - -#https://www.jobagent.ch/search?terms=Automatiker&workload=60-100&lra=0&as=0 diff --git a/lib/helpers.py b/lib/helpers.py index 81f8e3c..68014ee 100644 --- a/lib/helpers.py +++ b/lib/helpers.py @@ -96,7 +96,7 @@ def finder(results,item,**modes): else: content.append(result2.text.strip()) if not result: - if CLEANDATE: + if CLEANDATE or SWAPDATE: today = datetime.today().strftime('%Y-%M-%D') content.append(today) content.append("NOTFound")