Ticket #5633: imdb.pl.patchv2

File imdb.pl.patchv2, 744 bytes (added by Ash Bostock <abostock@…>, 17 years ago)

Better fix

Line 
1Index: imdb.pl
2===================================================================
3--- imdb.pl (revision 17758)
4+++ imdb.pl (working copy)
5@@ -280,6 +280,8 @@
6 # look for references to impawards.com posters - they are high quality
7 my $site = "http://www.impawards.com";
8 my $impsite = parseBetween($response, "<a href=\"".$site, "\">".$site);
9+ $impsite = parseBetween($response, "<a href=\"".$site, "\">\(Theatrical Movie Poster") if ($impsite eq "");
10+ $impsite = parseBetween($response, "<a href=\"".$site, "\">\(Internet Movie Poster Awards") if ($impsite eq "");
11
12 # jersey girl fix
13 $impsite = parseBetween($response, "<a href=\"http://impawards.com","\">http://impawards.com") if ($impsite eq "");