Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 114111
Status: open
Worked: 30 min
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: jralls [...] ceridwen.us
Cc:
AdminCc:

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



Subject: Source 'europe' failure.
Date: Sun, 1 May 2016 12:19:18 -0700
To: bug-Finance-Quote [...] rt.cpan.org
From: John Ralls <jralls [...] ceridwen.us>
Erik, Looks like www.boursorama has changed their layout a bit. .cpan/build/Finance-Quote-1.38-vSTnYV/Examples/stockdump.pl europe LU0207947044 Parsing of undecoded UTF-8 will give garbage when decoding entities at /Library/Perl/5.18/HTML/TableExtract.pm line 193. $VAR1 = { 'LU0207947044method' => 'bourso', 'LU0207947044symbol' => 'HTML', 'LU0207947044success' => 1, 'LU0207947044isodate' => '2016-04-27', 'LU0207947044date' => '04/27/2016', 'LU0207947044errormsg' => 'Stock name LU0207947044 not found', 'LU0207947044last' => '288.910', 'LU0207947044currency' => 'EUR', 'LU0207947044name' => ' FPM Fds Stockp Germany Small/Mid Cap C ' }; Finance::Quote 1.38 Perl 5.18.2 OS X 10.11.4. The price, date, currency, and name are right, the symbol and error message are bogus. Regards, John Ralls
On Sun May 01 15:19:30 2016, jralls@ceridwen.us wrote: Show quoted text
> Erik, > > Looks like www.boursorama has changed their layout a bit. > > .cpan/build/Finance-Quote-1.38-vSTnYV/Examples/stockdump.pl europe > LU0207947044 > Parsing of undecoded UTF-8 will give garbage when decoding entities at > /Library/Perl/5.18/HTML/TableExtract.pm line 193. > $VAR1 = { > 'LU0207947044method' => 'bourso', > 'LU0207947044symbol' => 'HTML', > 'LU0207947044success' => 1, > 'LU0207947044isodate' => '2016-04-27', > 'LU0207947044date' => '04/27/2016', > 'LU0207947044errormsg' => 'Stock name LU0207947044 not > found', > 'LU0207947044last' => '288.910', > 'LU0207947044currency' => 'EUR', > 'LU0207947044name' => ' FPM Fds Stockp Germany Small/Mid Cap > C ' > }; > > Finance::Quote 1.38 > Perl 5.18.2 OS X 10.11.4. > > The price, date, currency, and name are right, the symbol and error > message are bogus. > > Regards, > John Ralls
Hi John, I committed a patch which solves the problem when using 'bourso' instead of 'europe' as market. Still need to check what happens when using 'europe' though. -- Erik