Closed tibetty closed 8 years ago
Thank you, seems reasonable, as commented out links should be ignored by a browser. I will merge it now and a bit later publish a newer version of js-crawler. I want to do some re-factoring of js-crawler and add more tests before this.
Reason: comments might mislead following link parsing In function: Crawler.prototype._getAllUrls = function(baseUrl, body) body = body.replace(//g, ''); // Added by @tibetty to omit commented contents which might mislead following link-parsing