Subject: | Bug and Fix: Yahoo Finance JSON Broken |
Date: | Mon, 6 Mar 2017 09:23:43 -0600 |
To: | bug-Finance-Quote [...] rt.cpan.org |
From: | Abhijit Kshirsagar <abhijit86k [...] gmail.com> |
Some time ago a noticed that Yahoo's JSON requests for indian stocks
are failing -
the response has the string
"Not a valid parameter"
Instead of the required JSON string.
Setting the user agent string to a mobile browser fixes fixes this
issue - I tries with the UA string for a Motorola moto G.
1. Is there any issue with 'faking' the user-agent in this manner?
2. Should such a patch be pushed to the yahoo-json module?
3. Does anyone know if Yahoo terms now prohibit use of the JSON fetch?
Abhijit