From 8cd9f1d991caca221ab1f2211e79ab491b10d1e1 Mon Sep 17 00:00:00 2001 From: szbk Date: Tue, 21 Jan 2025 00:43:35 +0300 Subject: [PATCH] update lib/index.js --- lib/index.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/index.js b/lib/index.js index d7ced32..b4f93ab 100644 --- a/lib/index.js +++ b/lib/index.js @@ -79,12 +79,12 @@ module.exports = AmazonBookSearch; // })(); // // -(async () => { - try { - const BookSearch = new AmazonBookSearch("en"); - const bookDetails = await BookSearch.getBookDetails("0593724283"); - console.log(bookDetails); - } catch (error) { - console.log(error.message); - } -})(); +// (async () => { +// try { +// const BookSearch = new AmazonBookSearch("tr"); +// const bookDetails = await BookSearch.getBookDetails("9944824453"); +// console.log(bookDetails); +// } catch (error) { +// console.log(error.message); +// } +// })();