Commit 8cf809b0 authored by zhaochangbo's avatar zhaochangbo

图片处理

parent 25434e14
......@@ -69,7 +69,7 @@ var _jquerySelectorParser = function ($, item) {
});
}
}
data = xss(data, xssoptions)
data = xss(data.replace(/(\.(jpg|png|jpeg|gif))\?(.*)?"/ig, '$1"'), xssoptions)
}
});
return data;
......
{
"name": "z-almighty-parser-core",
"version": "1.1.9",
"version": "1.2.0",
"description": "crawler prser core",
"main": "index.js",
"scripts": {
......
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