Skip to content

Instantly share code, notes, and snippets.

@kostasx
Created January 8, 2019 22:27
Show Gist options
  • Select an option

  • Save kostasx/aa73387ff6d0a2f878db4119c7ba14eb to your computer and use it in GitHub Desktop.

Select an option

Save kostasx/aa73387ff6d0a2f878db4119c7ba14eb to your computer and use it in GitHub Desktop.
Web Scraping for the lazy developer [ YouTube: https://youtu.be/yB_oh7WgRU8 ]
let result = Array.from( document.querySelectorAll("h3.section-title") )
.map( (title) => title.textContent.trim()).join("\n");
copy( result );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment