An open API service indexing awesome lists of open source software.

https://github.com/abhijithvijayan/site-scrapper

A simple websitesite scrapper
https://github.com/abhijithvijayan/site-scrapper

Last synced: 3 months ago
JSON representation

A simple websitesite scrapper

Awesome Lists containing this project

README

        

# site-scrapper

A simple websitesite scrapper

## Docs

### Set up deta.sh

>

### Deploy to Deta

```shell
deta new --node site-scrapper
yarn install
yarn deploy
```

#### Note: For subsequent deployment run only

```shell
yarn deploy
```

### Create Slack Bot For Workspace

>

### Sample Curl
```
curl --request GET \
--url 'https://api.domain/api/v1/html?url=https://example.com&cacheTTL=1000' \
--header 'content-type: application/json'
```

- `cacheTTL` Optional. when given a number in milli-seconds, returns from cache if found in that time window. Defaults to `300000` (5 minutes)
- `url` Website URL to Fetch HTML from