Commit 65c4c9be authored by zhaochangbo's avatar zhaochangbo

优化

parent 373bd725
......@@ -261,7 +261,7 @@ var getContentPage = function (self, options, callback) {
var urls = [];
$('a').each(function (item) {
var url = _completionUrl($(this).attr('href'), {
domains: self.domains,
domains:self.url.match(self.contentPage.domains || '')[0] || self.domains,
url: self.url
});
if (!url) { return true; }
......
{
"name": "almighty-parser-core",
"version": "1.0.7",
"name": "z-almighty-parser-core",
"version": "1.0.6",
"description": "crawler prser core",
"main": "index.js",
"scripts": {
......@@ -13,7 +13,7 @@
"url": "git@github.com:coolfishstudio/almighty-parser-core.git"
},
"keywords": "crawler, parser",
"author": "Yves",
"author": "zhao",
"license": "MIT",
"dependencies": {
"async": "^2.4.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment