YouTubeViews- icon indicating copy to clipboard operation
YouTubeViews- copied to clipboard

youtube.py: error: too few arguments

Open misterscraper opened this issue 7 years ago • 1 comments

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

misterscraper avatar Jan 25 '18 08:01 misterscraper

Did you run it from the command line like this? python youtube.py 300 urls.txt 38 65

swarmt avatar Jan 27 '18 04:01 swarmt