https://github.com/raisess/razor
🤖 - Amazon products scraper, kinda a backend for web crawlers applications, no puppeteer btw.
https://github.com/raisess/razor
amazon amazon-bot amazon-scraper api bot bot-api scraper typescript
Last synced: 5 months ago
JSON representation
🤖 - Amazon products scraper, kinda a backend for web crawlers applications, no puppeteer btw.
- Host: GitHub
- URL: https://github.com/raisess/razor
- Owner: Raisess
- License: mit
- Created: 2021-03-12T13:00:09.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-24T19:48:47.000Z (almost 5 years ago)
- Last Synced: 2025-06-25T20:13:33.047Z (8 months ago)
- Topics: amazon, amazon-bot, amazon-scraper, api, bot, bot-api, scraper, typescript
- Language: TypeScript
- Homepage:
- Size: 59.6 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 Razor
Amazon products scraper, kinda a backend for web crawlers applications.
## Installing
Clone the repository.
```shell
git clone https://github.com/Raisess/razor.git
```
Enter to the project folder.
```shell
cd razor
```
Then, compile the project and run.
```shell
npm run compile | npm run start
```
## Using lib
Can you use razor, its simple.
```ts
import Razor from "./Razor";
/*
* @param amazonUri string
* @param search string
*/
const razor: Razor = new Razor("https://www.amazon.com", "shoes");
(async (): Promise => {
/*
* @param pageLimit number; default is 1
*/
console.log(await razor.getProducts(2));
// returns the products array, try to see data.
});
```
## Client
### TODO: A crawler client, maybe with puppeteer.