title: youtube-dl: How to skip videos with unavailable fragments in playlist, but not to abort playlist downloading?
body: <p>I want to download a playlist of videos from <a href="https://www.youtube.com/playlist?list=PLEsfXFp6DpzTD1BD1aWNxS2Ep06vIkaeW" rel="noreferrer">youtube</a> using youtube-dl for further offline viewing.
  Some videos have unavailable fragments (but for some reason there is no problem when viewing through browser). I want to download the playlist, but skip the videos with missing fragments.</p>
  
  <p>My original run was:</p>
  
  <pre><code>youtube-dl -if bestvideo+bestaudio PLEsfXFp6DpzTD1BD1aWNxS2Ep06vIkaeW
  </code></pre>
  
  <p>But it "freezes" at videos with missed fragments.</p>
  
  <p>Later, in documentation I found this option option <code>--abort-on-unavailable-fragment</code></p>
  
  <p>But following command just aborts, when it takes 10 retries for attempt to download fragment.</p>
  
  <pre><code>youtube-dl --abort-on-unavailable-fragment -if bestvideo+bestaudio PLEsfXFp6DpzTD1BD1aWNxS2Ep06vIkaeW
  </code></pre>
  
  <p>I also found parameter <code>--skip-unavailable-fragments</code>, but it just skips fragments, which are unavailable and continue to download next fragment. It results in glitches in video after merging.</p>
  
  <pre><code>youtube-dl --skip-unavailable-fragments -if bestvideo+bestaudio PLEsfXFp6DpzTD1BD1aWNxS2Ep06vIkaeW
  </code></pre>
  
  <p>Are there any options / parameters to download the whole playlist, but as soon as there is video with missed fragment: skip that video and switch to the next video in playlist?</p>