Sha256: d7815cc7edf2fa9b312e3672994359298eb19a078bc4f07e6e45cfbe522aa6aa

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 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 |audit_item|
  puts
  puts "#{audit_item.description}"
  puts "#{audit_item.title}: #{audit_item.valid_count} out of #{audit_item.total_count}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yt-audit-0.2.2 bin/yt-audit
yt-audit-0.2.1 bin/yt-audit