title: Convert YouTube link into an embed link
body: <p>I am using Python and Flask, and I have some YouTube URLs I need to convert to their embed versions. For example, this:</p>
  
  <p><code>https://www.youtube.com/watch?v=X3iFhLdWjqc</code></p>
  
  <p>has to be converted into this:</p>
  
  <p><code>https://www.youtube.com/embed/X3iFhLdWjqc</code></p>
  
  <p>Should I use Regexp, or is there a Flask method to convert the URLs?</p>