Skip to content

Commit

Permalink
Refactor TubeuUp args to be clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
orkeilius committed Nov 15, 2024
1 parent 3e60bd2 commit 52f87af
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tubeup/TubeUp.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self,
verbose=False,
dir_path='~/.tubeup',
ia_config_path=None,
output_template=None):
output_template='%(id)s.%(ext)s'):
"""
`tubeup` is a tool to archive YouTube by downloading the videos and
uploading it back to the archive.org.
Expand All @@ -46,10 +46,7 @@ def __init__(self,
self.verbose = verbose
self.ia_config_path = ia_config_path
self.logger = getLogger(__name__)
if output_template is None:
self.output_template = '%(id)s.%(ext)s'
else:
self.output_template = output_template
self.output_template = output_template

# Just print errors in quiet mode
if not self.verbose:
Expand Down

0 comments on commit 52f87af

Please sign in to comment.