azihassan / youtube-d

A fast command-line Youtube downloader
MIT License
7 stars 0 forks source link

Redownloading a previously finished download causes error #44

Closed azihassan closed 11 months ago

azihassan commented 11 months ago

Upon further inspection, it turns out that the error has to do with an unsatisfiable range issue.

To fix this, I'll need to skip the download if the local file size matches the content length of the URL.

This has been handled in ParallelDownloader in https://github.com/azihassan/youtube-d/pull/26, but is not yet supported for RegularDownloader.