Closed Strajk closed 4 years ago
All configuration unified to scrawelers.js.
const scrawlers = { alza: { test: "#detailItem", name: "h1", price: ".price_withVat, #prices .c2", render: { target: ".priceDetail" }, origin: "https://www.alza.{cz,sk}", exampleProductPath: "iphone-11?dq=5669250", },
Based on standard UNIX Brace expansion standard Simple, yet expressive enough
origin: "https://www.alza.{cz,sk}", origin: "https://www.czc.cz", ...
As many shops ships bugs to production, apparently. :D
https://take.ms/yZLKw
npm run generate-info
For generating info about supported shops to README
Add package-lock.json
I've done proper E2E testing by buying a new bike, for the best price ofc :D
Remove spreadsheet
All configuration unified to scrawelers.js.
New e-shops, new screenshots
New notation for TLDs
Based on standard UNIX Brace expansion standard Simple, yet expressive enough
Small style adjustments
Cypress – do not fail on page exceptions
As many shops ships bugs to production, apparently. :D
Add Jest for unit tests
https://take.ms/yZLKw
Add
npm run generate-info
commandFor generating info about supported shops to README
Misc
Add package-lock.json