title: How to check if a url is valid that youtube-dl supports
body: <p>I am developing a project, where user submits a URL.
  I need to check if that URL is valid url , to download data from youtube-dl supported sites.</p>
  
  <p>Please help.</p>