auto-yt-notifier

1.4.2 • Public • Published

Auto Youtube Notifier

This package is used to get new videos from your selected youtuber. This package only allows one channel at a time.

Credits to daydreamercodes for the repo and most of the code. I've only made it so its easier to use by only allowing one id, which also puts less stress on the youtube API, and for the data to return simply.

All the information returned is optimised for Discord use.

const YTNotifier = require('auto-yt-notifier'), Notif = new YTNotifier({ channel: '', check_time: 60 });

Notif.on('video', (video) => {
  console.log(video);

  video:
  {
    channelName: 'deox',
    url: 'https://www.youtube.com/watch?v=Fb07KmS94c4',
    id: 'Fb07KmS94c4'
  }
});

// The ID is so it doesn't send the same video again.

Readme

Keywords

Package Sidebar

Install

npm i auto-yt-notifier

Weekly Downloads

0

Version

1.4.2

License

ISC

Unpacked Size

3.6 kB

Total Files

5

Last publish

Collaborators

  • neronii