Bitwise-01 / YouTubeViews-

YouTube view bot
486 stars 259 forks source link

youtube.py: error: too few arguments #8

Open misterscraper opened 6 years ago

misterscraper commented 6 years ago

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

swarmt commented 6 years ago

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