Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const cheerio = require('cheerio');
- const $ = cheerio.load(response); #response = html page source
- $(function() {
- $('[data-productsku]').each(function() {
- console.log($(this).attr('data-productsku'));
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement