Skip to content

Commit

Permalink
Run checks on python 3.12 (#13)
Browse files Browse the repository at this point in the history
* Run checks on python 3.12
* Disable justjoinit scrapper, api unrecheable
* Update readme
  • Loading branch information
wkobiela committed Oct 4, 2023
1 parent c46b881 commit 6e9ae95
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* groovylint-disable DuplicateStringLiteral, MethodReturnTypeRequired, NestedBlockDepth, NoDef */
Map parallelStages = [:]
pythonsArray = ['3.8', '3.9', '3.10', '3.11']
pythonsArray = ['3.8', '3.9', '3.10', '3.11', '3.12']
testStage = 'jobScrapperCI/run_tests'
runStage = 'jobScrapperCI/run_scrapper'
banditStage = 'jobScrapperCI/run_bandit'
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# jobScrapper

### JustJoinIt scrapper temporarily disabled, API is unreachable - no further information, if it will be back.

## Description
Simple python project, that should make it easier to be up to date with jobs offers. Websites like BulldogJob, Nofluffjobs or JustJoinIt have this nasty fature - job offers that are "refreshed" are bumped to the top of the page, so it is easy to get lost of track and even apply to the same job twice.

Expand Down
8 changes: 4 additions & 4 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
setup.run(EXCEL_NAME, NOFLUFFJOBS_SHEET, BULLDOGJOB_SHEET, JUSTJOINIT_SHEET)
nofluffjobs.run(NOFLUFFJOBS_SHEET, NOFLUFFJOBS_URL)
bulldogjob.run(BULLDOGJOB_SHEET, BULLDOGJOB_URL)
justjoinit.run(JUSTJOINIT_SHEET,
role=justjoinit_settings['role'],
lvl=justjoinit_settings['lvl'],
city=justjoinit_settings['city'])
# justjoinit.run(JUSTJOINIT_SHEET,
# role=justjoinit_settings['role'],
# lvl=justjoinit_settings['lvl'],
# city=justjoinit_settings['city'])
8 changes: 4 additions & 4 deletions tests/test_linksReachable.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_is_BulldogJob_reachable():
response = requests.get(link, timeout=120, headers=headers)
assert response.status_code == 200

def test_is_JustJoinIt_reachable():
link = 'https://justjoin.it/api/offers'
response = requests.get(link, timeout=120)
assert response.status_code == 200
# def test_is_JustJoinIt_reachable():
# link = 'https://justjoin.it/api/offers'
# response = requests.get(link, timeout=120)
# assert response.status_code == 200

0 comments on commit 6e9ae95

Please sign in to comment.