Skip to content

Instantly share code, notes, and snippets.

@kostasx
Created January 8, 2019 22:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kostasx/aa73387ff6d0a2f878db4119c7ba14eb to your computer and use it in GitHub Desktop.
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