v/exp
1
0
mirror of https://github.com/troydm/exp.git synced 2025-05-16 06:30:09 -07:00

url fixed

This commit is contained in:
troydm 2018-02-27 01:18:08 +02:00
parent 7388982699
commit 4ca7497c0d

4
exp
View File

@ -39,8 +39,8 @@ $cmd = decode("UTF-8", $cmd);
my $content;
open(my $output, "-|:encoding(UTF-8)", "curl -s http://explainshell.com/explain?cmd=".$cmd)
or die "can't get data from http://explainshell.com $!";
open(my $output, "-|:encoding(UTF-8)", "curl -s https://explainshell.com/explain?cmd=".$cmd)
or die "can't get data from https://explainshell.com $!";
{
local $/;
$content = <$output>;