Amazon products scraper, kinda a backend for web crawlers applications.
Clone the repository.
git clone https://github.com/Raisess/razor.git
Enter to the project folder.
cd razor
Then, compile the project and run.
npm run compile | npm run start
Can you use razor, its simple.
import Razor from "./Razor";
/*
* @param amazonUri string
* @param search string
*/
const razor: Razor = new Razor("https://www.amazon.com", "shoes");
(async (): Promise<void> => {
/*
* @param pageLimit number; default is 1
*/
console.log(await razor.getProducts(2));
// returns the products array, try to see data.
});