semvec/pypi-packages huggingface dataset:
datakund-ai-scraper 1.1.2
Automation Library
License: Apache License 2.0

This package is for runing scrapers.

### Train Scraper
We train scraper by passing two similiar htmls, which gives us a unique id. That id can be used for runing the scraper and fetching out data.
```sh
from datakund_ai_scraper import *
html1='<html>.....</html>'
html2='<html>.....</html>'
response=scraper.parse(html1,html2)
#response={"botid":"esfdesd342"}
```

### Run Scraper
We run scraper by passing html and bot id which we fetched earlier and gives us a structured data in return.
```sh
from datakund_ai_scraper import *
html1='<html>.....</html>'
response=scraper.run(page=html1,id="esfdesd342")
#response={"Results":[{"title":"","link":""},...]}
```