0.5.0 version changelog:
- parse charset from
content-typein http headers or meta tag in html, then convert - big5 charset is avaliable as the
iconv-litehas already supported it - default enable gzip in request header
- remove unzip code in crawler since
requestwill do this - body will return as a Buffer if encoding is null which is an option in
request - remove cache and skip duplicate
requestforGET,POST(only for typeurlencode),HEAD - add log feature, you can use
winstonto setlogger:winston, or crawler will output to console - rotate user-agent in case some sites ban your requests
0.5.1 version changelog:
- remove cache feature, it's useless
- add
localAddress,time,tunnel,proxyHeaderWhiteList,proxyHeaderExclusiveListproperties to pass torequest
0.5.2 version changelog:
- you can manually terminate all the resources in your pool, when
onDraincalled, before their timeouts have been reached - add a read-only property
queueSizeto crawler
0.6.0 version changelog:
- add
bottleneckto implement rate limit, one can set limit for each connection at same time.
0.6.3 version changelog:
- you could also get
result.optionsfrom callback even when some errors ouccurred - add test for
bottleneck
0.6.5
- fix a deep and big bug when initializing Pool, that may lead to sequence execution. issue
- print log of Pool status
0.6.9
- use
bottleneckConcurrentinstead ofmaxConnections, default10000 - add debug info
0.7.0
- cancel recursion in queue
- upgrade
requestversion to v2.67.0
0.7.4
- change
debugoption to instance level instead ofoptions - update README.md to detail error handling
- call
onDrainwith scope ofthis - upgrade
seenreqversion to 0.1.7
0.7.5
- delete entity in options before copy, and assgin after,
jaris one of the typical properties which is anEntitywich functions - upgrade
requestto version 2.74.0