From c3c68df951fb0d9bd7aab9d1da837bc8dbb5953e Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 23 May 2015 12:15:11 +0300 Subject: [PATCH] Accept imdbid instead of imdb_id --- lib/WebService/Strike/Torrent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebService/Strike/Torrent.pm b/lib/WebService/Strike/Torrent.pm index eae9a89..1111365 100644 --- a/lib/WebService/Strike/Torrent.pm +++ b/lib/WebService/Strike/Torrent.pm @@ -35,6 +35,7 @@ sub new{ $self->{file_names} = $self->file_info->{file_names}; $self->{file_lengths} = $self->file_info->{file_lengths}; } + $self->{imdb_id} = $self->{imdbid} if $self->{imdbid}; $self } -- 2.39.2