Skip to content

Commit 8f2cbba

Browse files
author
AffanTheBest
committed
change selectors
1 parent 80db136 commit 8f2cbba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ const getRandomId = () => [...Array(10)].map(i=>(~~(Math.random()*36)).toString(
1313
const selectors = {
1414
amazon: {
1515
title: '#productTitle',
16-
price: '#priceblock_dealprice',
16+
price: '#priceblock_ourprice',
1717
image: '#landingImage'
1818
},
1919
flipkart: {
2020
price: '._30jeq3._16Jk6d',
2121
title: '.B_NuCI',
22-
image: '.CXW8mj._3nMexc > img'
22+
image: '#container > div > div._2c7YLP.UtUXW0._6t1WkM._3HqJxg > div._1YokD2._2GoDe3 > div._1YokD2._3Mn1Gg.col-5-12._78xt5Y > div:nth-child(1) > div > div._3li7GG > div._1BweB8 > div._3kidJX > div.CXW8mj._3nMexc > img'
2323
}
2424
}
2525
const getProductDetails = async(url, merchant) => {

0 commit comments

Comments
 (0)