Retry when connection disconnect not working
<p>I am using <code>youtube-dl</code> for downloading the videos from YouTube. But in  my office the internet will disconnect every <code>20Mb</code> of download. [Error: Connection forcibly closed by remote server].      </p>

<p>I have to type the URL again to resume the download and again it will disconnect after '20Mb'
I want <code>youtube-dl</code> to reconnect and retry to download the file.   </p>

<p>I tried using <code>--retries</code> switch but it is not retrying once disconnected.    </p>

<p>Is there any inbuild method or Work around for this?</p>