Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtube-channel-video-fetcher

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-channel-video-fetcher

Fetch video informations from a Youtube Channel without official API

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Youtube Channel Video Fetcher

This module allows you to retrieve all video informations from a channel without using official Youtube API.

Install

npm install --save youtube-channel-video-fetcher

Table of contents

  • Cheat Sheet
  • More Examples
  • Configuration
  • Licence

Cheat Sheet

const YoutubeChannel = require('youtube-channel-video-fetcher');

Fetch videos

const YoutubeChannel = new YoutubeChannel('channelId');
const scrapeChannel = (continuation) => {
    return new Promise((resolve, reject) => {
        YoutubeChannel.getVideo(continuation).then(function(videos) {
            if(videos.continuation !== 0) {
                resolve(scrapeChannel(videos.continuation));
            }
            console.log(posts);
        });
    });
};
scrapeChannel();

More examples in async/await

To see more examples, click here

Configuration

ParamTypeDefaultDescription
channelIdStringEmptyChannel id or username

License

The MIT License (MIT)

Copyright (c) 2018 Kakulukian

Keywords

FAQs

Package last updated on 25 Feb 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc