Closed art1c0 closed 7 years ago
For those who might wonderm the soution is:
.scrape(
function($, query) {
return $(query).map(function() {
return $(this).text();
}).get();
},
function(data, utils) {
console.log('data', data);
},
queryString
);
I need to make query selector parameterized for evaluate function. For example, in this code:
I need this ".title a" to be dynamic, coming as parameter. How to achieve that? This is very crusial... Thanks!