diff --git a/app.json b/app.json index 6bf4933..b1acff5 100644 --- a/app.json +++ b/app.json @@ -3,7 +3,7 @@ "description": "A telegram bot which can track prices for amazon and flipkart products. (Soon more)", "keywords": ["price-tracker", "amazon", "flipkart", "ecommerce", "tracker", "telegram", "bot"], "repository": "https://github.com/AffanTheBest/price-tracker", - "website": "https://asloot.cf", + "website": "https://dealsworth.in", "scripts": { "worker": "npm start" }, @@ -38,4 +38,4 @@ } }, "addons": [] - } \ No newline at end of file + } diff --git a/bot.js b/bot.js index f9358f4..679e9fb 100644 --- a/bot.js +++ b/bot.js @@ -11,12 +11,8 @@ const reply_markup = { //common repky markup inline_keyboard: [ [ - { text: "👨‍💻 Developer", url: "https://github.com/AffanTheBest" }, - { text: "🛒 Deals Channel", url: "https://t.me/aslootdeals" }, - ], - [ - { text: "🔃 Updates", url: "https://t.me/asprojects" }, - { text: "💁‍♂️ Support", url: "https://t.me/assupportchat" }, + { text: "🛒 Deals Channel", url: "https://t.me/TheDealsMaster" }, + { text: "💁‍♂️ Support", url: "https://t.me/TDM_Owner" }, ], ], }; diff --git a/utils.js b/utils.js index d04059a..b5e049a 100644 --- a/utils.js +++ b/utils.js @@ -39,7 +39,7 @@ const getProductDetails = async(url, merchant) => { const $ = cheerio.load(res.data); const selector = selectors[merchant]; let link = new URL(url); - if(merchant == 'amazon') link.searchParams.set('tag', 'asloot-21'); + if(merchant == 'amazon') link.searchParams.set('tag', 'dworth-21'); link = link.toString(); const price = parseInt($(selector.price1).text().trim().replace(/^\D+|[^0-9.]/g, '')) || parseInt($(selector.price2).text().trim().replace(/^\D+|[^0-9.]/g, '')); const title = $(selector.title).text().trim(); @@ -54,4 +54,4 @@ const getProductDetails = async(url, merchant) => { } } -module.exports = { isUrl, getRandomId, getProductDetails }; \ No newline at end of file +module.exports = { isUrl, getRandomId, getProductDetails };