YouTubeViews-
YouTubeViews- copied to clipboard
youtube.py: error: too few arguments
Trying to run this script but I'm greeted with the same error
youtube.py: error: too few arguments
anyone have a fix?
Here's my arguments
arguments
args = ArgumentParser() args.add_argument('300',help='The amount of visits ex: 300') args.add_argument('urllist.txt',help='Youtube videos url list') args.add_argument('20',help='Minimum watch time in seconds ex: 38') args.add_argument('60',help='Maximum watch time in seconds ex: 65') args = args.parse_args()
running on mac os x 10.13.2
Did you run it from the command line like this? python youtube.py 300 urls.txt 38 65