WebInspectorScrapingSnippets Get YouTube links: console.log(Array.from(new Set(Array.prototype.map.call(document.querySelectorAll("a[href^='https://www.youtube.com/watch']"), x => x.href))).map(x => `"${x}"`).join(' ')) Published Dec 02, 2018 11:21 Categories and tags KB