openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
46 stars 26 forks source link

Fix low quality #73

Closed rgaudin closed 4 years ago

rgaudin commented 4 years ago

71 introduces a regression on --low-quality as our processing (recompression) was launched using the youtube_dl progress hook.

This PR solves it by splitting the hook into dedicated functions and launching it after youtube_dl has completed the video download.

This should also help in transitioning to #72