- CLI Node App
- Random winner generator of YouTube comments for giveaways
git clone https://github.com/samnoh/random_youtube_comments_picker.git
cd random_youtube_comments
npm run build
npm i -g
- Node.js & npm (or yarn)
- You should have your own YouTube API key - Link
- Edit .env file before running
API_KEY
: Your own YouTube API Key
youtube-comment <youtube url> [number of winners]
- Pick up random winners and save their comments.
- Or save all comments for data archiving purposes (
youtube-comment <youtube url>
).
- Pick 7 winners
youtube-comment https://www.youtube.com/watch?v=nNVMvXTOgkI 7
- Download all comments
youtube-comment https://www.youtube.com/watch?v=Rx9NoQ1uknI
npm rm -g random_youtube_comments_picker