vault1337/YouTube-subscribers-python

error youtube = get_authenticated_service(args) NameError: name 'args' is not defined

loigaak opened this issue · 3 comments

error youtube = get_authenticated_service(args) NameError: name 'args' is not defined

error youtube = get_authenticated_service(args) NameError: name 'args' is not defined

what are the argument > what is args ?
which channel ID is used to return the subscriber list ?
args_channelID

Hey, one line is missing line 118 :
args = argparser.parse_args()
Btw, if you get an error of a file not created , create it manually :
line 56 storage = Storage("%s-oauth2.json" % sys.argv[0]) will need to write in a file named """ {{file-name}}.json """ where file-name is your file name