-
Notifications
You must be signed in to change notification settings - Fork 0
URLs
Michał Oręziak edited this page Jun 12, 2019
·
1 revision
In our package @warsawlo/lava
we included a bunch of URLs to recruitment systems we support.
Currently (for year 2019), we included in our package following URLs:
-
https://warszawa-pogim.edu.com.pl ->
WARSAW_AFTER_SECONDARY_SCHOOL_URL
-
https://warszawa-posp.edu.com.pl ->
WARSAW_AFTER_PRIMARY_SCHOOL_URL
To use these URLs you have to:
-
require
one of them from@warsawlo/lava/urls/{currentYear}
(ex.@warsawlo/lava/urls/2019
) - Pass chosen URL to
baseURL
param when creating Lava instance
const {
WARSAW_AFTER_SECONDARY_SCHOOL_URL
} = require('@warsawlo/lava/urls/2019')
const Lava = require('./src/Lava')({
baseURL: WARSAW_AFTER_SECONDARY_SCHOOL_URL
})
The fact that the system you find is not on our predefined URLs list doesn't mean it's not supported. Our lib supports most of Vulcan recruitment systems. In order to use a custom baseURL
you just have to pass it to baseURL
param when creating Lava instance.
const Lava = require('./src/Lava')({
baseURL: 'https://warszawa-pogim.edu.com.pl'
})
WARNING! - URL you pass as baseURL
has to be a valid absolute URL with a protocol. We highly recommend passing URLs with https
protocol.
You can't use city
filter in search
function of Lava.Search
module.