egbertbouman / youtube-comment-downloader

Simple script for downloading Youtube comments without using the Youtube API
MIT License
885 stars 223 forks source link

if the videoid starts with "-" it doesn't work #6

Closed ericj112 closed 6 years ago

ericj112 commented 6 years ago

youtube-comment-downloader-master$ ./downloader.py --youtubeid -SxV944iB48 usage: downloader.py [--help] [--youtubeid YOUTUBEID] [--output OUTPUT] downloader.py: error: argument --youtubeid/-y: expected one argument

egbertbouman commented 6 years ago

@ericj112 Thanks! This seems to be an issues with Python's argparse module. To work around this you can run the script as follows: downloader.py --youtubeid=-SxV944iB48 --output test.txt

egbertbouman commented 6 years ago

If this still doesn't work feel free to reopen the issue.