Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const cheerio = require("cheerio");
const rp = require("request-promise-native");
(async () => {
const html = await rp(
"https://fr.aliexpress.com/store/product/Summer-Women-Dress-Vestidos-Casual-Clothing-Female-Tropical-Bohemian-Mini-Dress-Beach-Vestidos-De-Renda-Ladies/620009_32282871144.html?spm=a2g05.8005319.2001.3.mH47kQ&sdom=703.123483.111126.0_32282871144"
);
const $ = cheerio.load(html)
const productName = $("h1.product-name")
console.log(productName.text())
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.