update --playlist arg
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
*.pyc
|
||||
@@ -16,7 +16,7 @@ else:
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--url', type=str, help = 'URL of Pornhub video')
|
||||
parser.add_argument('--playlist', choices = ['most-viewed', 'best', 'top-rated', 'longest'], type=str, help = 'Optional ordering of videos')
|
||||
parser.add_argument('--playlist', type=str, default='recent', const='recent', nargs='?', choices = ['recent', 'most-viewed', 'best', 'top-rated', 'longest'], help = 'Optional ordering of videos')
|
||||
parser.add_argument('--limit', type=int, help = 'Maximum number of videos', default=0)
|
||||
parser.add_argument('--dir', type=str, help = 'Output directory')
|
||||
args = parser.parse_args()
|
||||
|
||||
Reference in New Issue
Block a user