Added mecum processor
parent
7c2f5bb2d9
commit
eb27b75d4d
@ -0,0 +1,20 @@
|
||||
const genericBootstrapFactory = require("./generics/generic-bootstrap");
|
||||
const genericVinParserFactory = require("./generics/generic-vin-parser");
|
||||
|
||||
|
||||
module.exports = {
|
||||
execute: genericBootstrapFactory({
|
||||
baseUrl: 'mecum.com',
|
||||
pageLoadIndicator: 'html body div#__next main#page-content div.Container_containerW__RTJwy.Container_paddingBtm__RIfcP article.innerWrap section.LotHeader_lotHeader__9tt91 div.LotHeader_gallerySection__LZQOt',
|
||||
vinSelector: 'html body div#__next main#page-content div.Container_containerW__RTJwy.Container_paddingBtm__RIfcP article.innerWrap section.LotHeader_lotHeader__9tt91 div.LotHeader_headerBottom__F8FRR div.LotHeader_meta__3S0lZ div.LotHeader_odometerSerial___fuHb div p',
|
||||
carouselTrigger: 'html body div#__next main#page-content div.Container_containerW__RTJwy.Container_paddingBtm__RIfcP article.innerWrap section.LotHeader_lotHeader__9tt91 div.LotHeader_gallerySection__LZQOt section.ImageGallery_imageGallery__qITSq.LotHeader_gallery__OrqMX.image-gallery.ImageGallery_standard__a65TU div.ImageGallery_mainImage__GFBTp button.ImageGallery_imageButton__ld6Eg'
|
||||
}),
|
||||
baseUrl :'mecum.com',
|
||||
parseVIN: genericVinParserFactory({
|
||||
vinElementSelector: `html body div#__next main#page-content div.Container_containerW__RTJwy.Container_paddingBtm__RIfcP article.innerWrap section.LotHeader_lotHeader__9tt91 div.LotHeader_headerBottom__F8FRR div.LotHeader_meta__3S0lZ div.LotHeader_odometerSerial___fuHb div p`
|
||||
}),
|
||||
parseMileage: async function (page) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue