Project

YPBT

0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Youtube Progress Bar Taggerextracts comment threads, comments, and comment of author from Youtube videos
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.8
~> 4.4
~> 5.9
~> 11.3
~> 0.42
~> 0.12
~> 3.0
~> 2.1

Runtime

~> 2.0
 Project Readme

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