|
@@ -68,7 +68,7 @@ module.exports = async function (fastify, opts) {
|
|
|
if (rows.length > 1) {
|
|
if (rows.length > 1) {
|
|
|
price = await rows[1].innerText()
|
|
price = await rows[1].innerText()
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ console.log(asin + ' start')
|
|
|
let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
|
|
let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
|
|
|
params: {
|
|
params: {
|
|
|
country: 'US',
|
|
country: 'US',
|
|
@@ -76,6 +76,7 @@ module.exports = async function (fastify, opts) {
|
|
|
_t: new Date().getTime()
|
|
_t: new Date().getTime()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ console.log(asin + ' end')
|
|
|
return { text, href, price, asin, data: sif.data.data }
|
|
return { text, href, price, asin, data: sif.data.data }
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|