Bug#1035690: libfinance-quote-perl: GNUCash quotes from Yahoo stopped working
David Engel
david at istwok.net
Sun May 7 22:05:53 BST 2023
Package: libfinance-quote-perl
Version: 1.54-2
Severity: normal
Tags: patch upstream
Dear Maintainer,
Retrieving stock quotes from Yahoo in GNUCash stopped working a few
days. The problem was fixed yesterday in Finance::Quote version
1.5402. Specifially, the following patch to YahooJSON.pm fixes it for
me.
diff -urN Finance-Quote-1.54/lib/Finance/Quote/YahooJSON.pm Finance-Quote-1.5402/lib/Finance/Quote/YahooJSON.pm
--- Finance-Quote-1.54/lib/Finance/Quote/YahooJSON.pm 2022-12-26 17:25:07.000000000 -0600
+++ Finance-Quote-1.5402/lib/Finance/Quote/YahooJSON.pm 2023-05-06 17:09:48.000000000 -0500
@@ -33,9 +33,9 @@
use HTML::TableExtract;
use Time::Piece;
-our $VERSION = '1.54'; # VERSION
+our $VERSION = '1.5402'; # VERSION
-my $YIND_URL_HEAD = 'https://query1.finance.yahoo.com/v7/finance/quote?symbols=';
+my $YIND_URL_HEAD = 'https://query1.finance.yahoo.com/v6/finance/quote?symbols=';
my $YIND_URL_TAIL = '';
sub methods {
David
-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (900, 'testing'), (500, 'testing-security'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-7-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libfinance-quote-perl depends on:
ii libcgi-pm-perl 4.55-1
ii libdatetime-format-strptime-perl 1.7900-1
ii libdatetime-perl 2:1.59-1
pn libencode-perl <none>
ii libhtml-parser-perl 3.81-1
ii libhtml-tableextract-perl 2.15-2
ii libhtml-tokeparser-simple-perl 3.16-4
ii libhtml-tree-perl 5.07-3
ii libhtml-treebuilder-xpath-perl 0.14-1.1
ii libhttp-cookies-perl 6.10-1
ii libhttp-message-perl 6.44-1
ii libjson-parse-perl 0.62-1+b1
ii libjson-perl 4.10000-1
ii liblwp-protocol-https-perl 6.10-1
ii libreadonly-perl 2.050-3
ii libscalar-list-utils-perl 1:1.63-1+b1
ii libspreadsheet-xlsx-perl 0.17-1
ii libstring-util-perl 1.34-2
ii libtext-template-perl 1.61-1
ii libtry-tiny-perl 0.31-2
ii liburi-perl 5.17-1
ii libweb-scraper-perl 0.38-2
ii libwww-perl 6.68-1
ii libxml-libxml-perl 2.0207+dfsg+really+2.0134-1+b1
ii perl [libio-compress-perl] 5.36.0-7
ii perl-base [libscalar-list-utils-perl] 5.36.0-7
libfinance-quote-perl recommends no packages.
libfinance-quote-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list