You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
715 B
JavaScript

const genericBootstrapFactory = require("./generics/generic-bootstrap");
const genericVinParserFactory = require("./generics/generic-vin-parser");
module.exports = {
execute: genericBootstrapFactory({
baseUrl: 'hemmings.com',
pageLoadIndicator: '#galleries',
vinSelector: '.leading-loose > li:nth-child(2) > span:nth-child(2)',
carouselTrigger: '.bg-center'
}),
baseUrl :'hemmings.com',
parseVIN: genericVinParserFactory({
vinElementSelector: `div.py-4.px-4.flex.flex-col.lg:flex-row.flex-wrap div.w-full.lg:w-1/2.my-2 div.flex.flex-col div.text-lg.lg:text-xl.whitespace-normal`
}),
parseMileage: async function (page) {
return null;
}
}