title: Javascript - How to get the url for Youtube videos programmatically? (self-answer)
body: <p>An extremely common question is "How do I get the url for a Youtube video?". Most answers involve some scraping and regexing the html of a video page or resort to 'use this 3rd party tool or website'.</p>
  
  <p>Its extremely easy to do this from the dev tools console in any browser on any Youtube video page.</p>
  
  <p>See the answer below.</p>