0

no ssl certificate verification

This commit is contained in:
Kaimi
2015-10-07 02:30:10 +03:00
parent 5bfd177d9d
commit ad37907db2

View File

@@ -156,7 +156,7 @@ if($opt{dir} && !-d $opt{dir})
MP3::Tag->config('id3v23_unsync', 0); MP3::Tag->config('id3v23_unsync', 0);
my ($whole_file, $total_size); my ($whole_file, $total_size);
my $ua = LWP::UserAgent->new(agent => AGENT, cookie_jar => new HTTP::Cookies, timeout => TIMEOUT); my $ua = LWP::UserAgent->new(agent => AGENT, cookie_jar => new HTTP::Cookies, timeout => TIMEOUT, ssl_opts => { verify_hostname => 0 });
my $json_decoder = JSON::PP->new->utf8->pretty->allow_nonref->allow_singlequote; my $json_decoder = JSON::PP->new->utf8->pretty->allow_nonref->allow_singlequote;
my @exclude = (); my @exclude = ();
my @include = (); my @include = ();