diff --git a/CloudApp.pm b/CloudApp.pm index 385a515..7fccbfb 100755 --- a/CloudApp.pm +++ b/CloudApp.pm @@ -167,6 +167,7 @@ sub upload { my $rsp3 = $ua->request($req3); if ($rsp3->is_success) { my $content3 = decode_json($rsp3->decoded_content); + $self->{_links}->{'short_link'} = $content3->{'share_url'}; $self->{_links}->{'direct_link'} = $content3->{'content_url'}; } $self->{_links}{'status'} = $rsp3->status_line; diff --git a/README.md b/README.md index b5cc8a7..19ee6b1 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,12 @@ Shutter Upload Plugin for CloudApp ## Installation +Check if you have the following **dependencies**: +``` +perl-tie-ixhash +perl-lwp-protocol-https +``` + Download `CloudApp.pm` and move it to the Shutter upload plugins directory, and make it executable. On Ubuntu, that's: ```