Skip to content

Instantly share code, notes, and snippets.

@ronin13
Created November 25, 2012 05:21
Show Gist options
  • Save ronin13/69b4444b2e7b8d168137 to your computer and use it in GitHub Desktop.
Save ronin13/69b4444b2e7b8d168137 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
# Youtube Viewer - configuration file
our $CONFIG = {
adj_for_term_width => 1,
auth_key => undef,
cache => 30000,
cache_min => 5,
caption => undef,
captions_dir => "/tmp",
categories_language => "en-US",
clobber => 0,
colors => 1,
convert_to => undef,
debug => 0,
download_with_wget => 1,
downloads_folder => "/home/raghavendra/media/youtube",
duration => undef,
ffmpeg_command => "ffmpeg -i %s %s",
fullscreen => 0,
gcap => 1,
get_captions => 1,
hd => undef,
http_proxy => undef,
keep_original_video => 0,
lower_cache => 2000,
lower_cache_min => 3,
lwp_downloading => 0,
mplayer => "/home/raghavendra/bin/mplayer",
mplayer_arguments => "",
mplayer_srt_args => "",
non_interactive => 0,
orderby => undef,
prefer_https => 1,
prefer_webm => 1,
resolution => "original",
results => 20,
results_with_colors => 1,
results_with_details => 0,
safe_search => "none",
skip_if_exists => 0,
srt_languages => ["en"],
thousand_separator => ",",
time => undef,
use_lower_cache => 0,
youtube_video_url => "http://www.youtube.com/watch?v=%s",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment