openzim / youtube

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

Use a temporary build dir #101

Closed rgaudin closed 4 years ago

rgaudin commented 4 years ago

For clarity and to allow playlists-mode to create ZIM files on the --output folder, we need to stop using a fixed <output_dir>/build folder.

This build_dir shall be a real temporary folder (using tempfile) and could be specified by an option. The option's help should emphasis that is will receive all the data (requires storage space).

Along with this, playlists mode should be edited to just forward the --output option and not specify a custom one.