Comparing version 2.4.1 to 2.4.2
{ | ||
"name": "x-crawl", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"author": "coderHXL", | ||
@@ -5,0 +5,0 @@ "description": "XCrawl is a Nodejs multifunctional crawler library.", |
@@ -15,3 +15,3 @@ # x-crawl | ||
- Support Promise/Callback method to get the result. | ||
- Polling function, fixed-point crawling. | ||
- Polling function, timing crawling. | ||
- Anthropomorphic request interval. | ||
@@ -90,3 +90,3 @@ - Written in TypeScript, providing generics. | ||
Example of fetching featured video cover image for youtube homepage every other day: | ||
Regular crawling: Get the recommended pictures of the youtube homepage every other day as an example: | ||
@@ -140,3 +140,3 @@ ```js | ||
**Note:** Do not crawl randomly, here is just to demonstrate how to use x-crawl, and control the request frequency within 3000ms to 2000ms. | ||
**Note:** Do not crawl at will, you can check the **robots.txt** protocol before crawling. This is just to demonstrate how to use x-crawl. | ||
@@ -143,0 +143,0 @@ ## Core concepts |
102618