Skip Menu |

This queue is for tickets about the WWW-Google-PageRank CPAN distribution.

Report information
The Basics
Id: 71541
Status: resolved
Priority: 0/
Queue: WWW-Google-PageRank

People
Owner: Nobody in particular
Requestors: oleg [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.16
Fixed in: (no value)



Subject: Little changes in the PR url caused the failure of the module [PATCH]
Current version doesn't work because of the some PR url changes. Attached patch solved problem for me. Patching: cd WWW-Google-PageRank-0.16/lib/WWW/Google && patch -p0 < w-g-p.patch
Subject: w-g-p.patch
--- PageRank.pm 2010-12-07 23:43:36.000000000 +0600 +++ PageRank.pm-patched 2011-10-08 12:07:22.021450020 +0700 @@ -31,7 +31,7 @@ return unless defined $url and $url =~ m[^https?://]i; my $ch = '6' . _compute_ch_new('info:' . $url); - my $query = 'http://' . $self->{host} . '/search?client=navclient-auto&ch=' . $ch . + my $query = 'http://' . $self->{host} . '/tbr?client=navclient-auto&ch=' . $ch . '&ie=UTF-8&oe=UTF-8&features=Rank&q=info:' . uri_escape($url); my $resp = $self->{ua}->get($query);
On Sat Oct 08 01:22:29 2011, OLEG wrote: Show quoted text
> Current version doesn't work because of the some PR url changes. > Attached patch solved problem for me. > Patching: > cd WWW-Google-PageRank-0.16/lib/WWW/Google && patch -p0 < w-g-p.patch
Fixed in 0.17. Thank you for patch!