# the-crawler-base@2.1.2
Base of the-crawlers
+ Functions
+ [create(args)](#the-crawler-base-function-create)
+ [resourceMix(BaseClass)](#the-crawler-base-function-resource-mix)
+ [`TheCrwl`](#the-crawler-base-classes) Class
+ [new TheCrwl()](#the-crawler-base-classes-the-crwl-constructor)
+ [crwl.crawl(config)](#the-crawler-base-classes-the-crwl-crawl)
+ [crwl.run(config)](#the-crawler-base-classes-the-crwl-run)
+ [crwl.crawl(config)](#the-crawler-base-classes-the-crwl-crawl)
+ [crwl.run(config)](#the-crawler-base-classes-the-crwl-run)
## Functions
### create(args) -> `TheCrwl`
Create a TheCrwl instance
| Param | Type | Description |
| ----- | --- | -------- |
| args | * | |
### resourceMix(BaseClass) -> `function`
Mix up resource
| Param | Type | Description |
| ----- | --- | -------- |
| BaseClass | function | Base class |
## `TheCrwl` Class
Base crawler class
### new TheCrwl()
Constructor of TheCrwl class
### crwl.crawl(config) -> `Promise.`
Do crawl
| Param | Type | Description |
| ----- | --- | -------- |
| config | Object | Crawl config |
### crwl.run(config) -> `Promise.`
Run the crawler
| Param | Type | Description |
| ----- | --- | -------- |
| config | Object | Crawl config |
### crwl.crawl(config) -> `Promise.`
Do crawl
| Param | Type | Description |
| ----- | --- | -------- |
| config | Object | Crawl config |
### crwl.run(config) -> `Promise.`
Run the crawler
| Param | Type | Description |
| ----- | --- | -------- |
| config | Object | Crawl config |