Skip to content

Commit

Permalink
change URL a bit for minimal HTML munging (params may be unstable, th…
Browse files Browse the repository at this point in the history
…ough)
  • Loading branch information
Chris Fields committed Dec 14, 2011
1 parent ded877a commit caf0014
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Bio/DB/SeqVersion/gi.pm
Expand Up @@ -108,7 +108,8 @@ use base qw(Bio::DB::SeqVersion);

# Private class variables

my $URL = 'http://www.ncbi.nlm.nih.gov/nuccore/%s?report=girevhist';
# TODO: this may be an unstable setting (text is actually minimal XHTML)
my $URL = 'http://www.ncbi.nlm.nih.gov/nuccore/%s?report=girevhist&format=text';

=head2 new
Expand Down Expand Up @@ -251,7 +252,7 @@ sub _process_data {
while ( my $token = $p->get_tag('td') ) {

#print Dumper $token;
print $p->get_text . "\n";
print STDERR $p->get_text . "\n";
}

#if ($html =~ /Current\s+status:\s+([a-z]+)<\/div>(<table.+)/xms) {
Expand Down

0 comments on commit caf0014

Please sign in to comment.