Subject: | Broken log_in() on Net::Wigle? |
Date: | Sun, 02 Feb 2014 01:53:13 +0100 |
To: | bug-Net-Wigle [...] rt.cpan.org |
From: | Roman Valls Guimera <brainstorm [...] nopcode.org> |
Hello,
I tried this module as advertised in the docs:
==========
#!/usr/bin/env perl
use strict;
use warnings;
use Net::Wigle;
use Data::Dumper;
my $wigle = Net::Wigle->new();
print Dumper $wigle -> query_raw(
user => 'myuser',
pass => 'mypass',
ssid => 'lauchita',
);
============
But the html returned does not contain the expected results/table:
$ perl wigle.pl | grep -i "showing stations"
$
Seems like the log_in() method is not working properly since "Query",
"Uploads" and "MapPacks/Trees" appear without a href link in the
query_raw() output, like in the non-authenticated site:
| Query
| <a href="/gps/gps/main/screenshots/"><font
size="-1">Screenshots</font></a>
| <a href="/gps/gps/main/stats/"><font size="-1">Stats</font></a>
| Uploads | <a href="/gps/gps/Map/onlinemap2/"><font size="-1">Web
Maps</font></a>
| MapPacks/Trees | <a href="/wiki/index.cgi"><font
size="-1">Wiki</font></a>
Best regards,
Roman