I now have a project that needs webmagic to crawl the title, but the title of this site has two styles xpath xpath( " div[@class= "title "] text() "), 3css( "div.title ") this is not what I need I don t know if there is a way to set up a xpath or us...
as in the question, use async.eachSeries (data,function (item,callback) {}, function (err) {}) to operate asynchronously. The function function does nothing but the output console.log (item) item, only outputs the first one, and the callback function doe...
use Element-UI s Walking Lantern plug-in. assume that there are three pictures. when I make changes to the first picture for example: this.banner[0].image = otherImg; at this point, the first picture becomes the third picture, and the data forma...
componentDidMount() { getTaskState this.props.dispatch(getTaskState("status")) this.props.dispatch(getTaskState( type )) } const homeReducer = (state=initialState, action) => { if(action.type === GET_TASK...
this is an exercise program, which in short is to pop up a window on which the coordinates of that point will appear when you click the mouse. but this program will appear in the upper left corner even if it is not clicked at the beginning. It is very ...
question: php API, data can be requested with ajax request, but not with axios request. < H2 > axios < H2 > Code: getJson(){ this.axios({ method: post , url: vip index.php , data:{ ...