Sha256: ee1626ea909934e84e2ca8f495f508cd6c78b29490b06b5871cf3bebca3f858f
Contents?: true
Size: 474 Bytes
Versions: 11
Compression:
Stored size: 474 Bytes
Contents
#!/usr/bin/env ruby begin require 'yt/audit' rescue LoadError require 'rubygems' require 'yt/audit' end channel_id = ARGV[0] || 'UCKM-eG7PBcw3flaBvd0q2TQ' puts "Channel: https://www.youtube.com/channel/#{channel_id}" channel = Yt::Channel.new(id: channel_id) audit = Yt::Audit.new(channel: channel) 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
11 entries across 11 versions & 1 rubygems