Sha256: d2747a35b937a2cb781bf6d9abce648bf835d0f6d08bd90763b7448211404c6e

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

#!/usr/bin/env ruby

begin
  require 'yt/audit'
rescue LoadError
  require 'rubygems'
  require 'yt/audit'
end

channel_id = ARGV[0] || 'UCKM-eG7PBcw3flaBvd0q2TQ'
audit = Yt::Audit.new(channel_id: channel_id)
puts "Channel: https://www.youtube.com/channel/#{channel_id}"
audit.run.each do |video_audit|
  puts
  puts "#{video_audit.description}"
  puts "#{video_audit.title}: #{video_audit.valid_count} out of #{video_audit.total_count}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yt-audit-0.2.0 bin/yt-audit