if -b option is provided, set nsfw to true
This commit is contained in:
parent
11475c8325
commit
753e008a6f
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ class Videoob(ConsoleApplication):
|
|||
group.add_option('--nsfw', action='store_true', help='enable non-suitable for work videos')
|
||||
|
||||
def main(self, argv):
|
||||
if self.options.backends:
|
||||
self.options.nsfw = True
|
||||
return self.process_command(*argv[1:])
|
||||
|
||||
@ConsoleApplication.command('Get video information (accept ID or URL)')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue