3 ms·
Looks like NYT changed the way they paywall, but all the text content is in the DOM (for SEO purposes I assume). console.log(document.querySelector('#site-
by deckar01 7y ago
Looks like NYT changed the way they paywall, but all the text content is in the DOM (for SEO purposes I assume).
console.log(document.querySelector('#site-content').innerText.replace(/(.{80}\w*)\s*/g, '$1\n'))