Socket
Socket
Sign inDemoInstall

auto-yt-notifier

Package Overview
Dependencies
10
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    auto-yt-notifier

Gives you the information optimial for discord use.


Version published
Maintainers
1
Install size
2.13 MB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 14 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc