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

YPBT

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

YPBT

  • 0.2.12
  • Rubygems
  • Socket score

Version published
Maintainers
3
Created
Source

Youtube Progress Bar Tagger

Gem Version Build Status

Youtube Progress Bar Tagger (YPBT) is a gem that tracks the comments following a youtube movie and captures the time points of popularity.

Installation

If you are working on a project, add this to your Gemfile: gem 'YPBT'

For ad hoc installation from command line:

$ gem install YPBT

Quick Start

Export your Youtube api key

   $ export YOUTUBE_API_KEY='Your_Youtube_API_Key'

Install essential gem

  $ bundle install

Then do a basic test for our module

   $ rake spec

Now, try to extract data from YouTube's video => https://www.youtube.com/watch?v=[video_id]

    $ YPBT [video_id]

Usage

video = YoutubeVideo::Video.find(
  video_id: video_id
)

puts video.title

video.commentthreads.each. do |comment|
  puts comment.author.author_name
  puts comment.text_display
  puts comment.author.like_count if comment.author.like_count
  puts comment.author.author_channel_url
end

FAQs

Package last updated on 01 Nov 2020

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