That is exactly the problem with using WWW::Mechanize
Software error:
GET https://finance.yahoo.com/quote/SPY/history?p=SPY failed: 501 Prot
+ocol scheme 'https' is not supported (LWP::Protocol::https not instal
+led) at /test/aaa3.pl line 42
I know I have LWP::Protocol::https.pm installed in the correct spot, and I know the problem is the same with any module that has XSLoader or Dynaloader as a dependancy to load libraries.
Yahoo does have these modules, (32 with LWP in them) and maybe then libraries, but I think they must be a little stale and I don't know how to make the link to them.
LWP::Protocol - Base class for LWP protocols
LWP::Simple - simple procedural interface to LWP
LWP::UserAgent - Web user agent class
DBI 5.8.7::LWP - The World-Wide Web library for Perl
5.8.7::Bundle::LWP - install all libwww-perl related modules
5.8.7::LWP::Protocol - Base class for LWP protocols
5.8.7::LWP::Simple - simple procedural interface to LWP
5.8.7::LWP::UserAgent - Web user agent class
Do I just call them by
use 5.8.7::LWP::Protocol; and hope for the best?
My experience is that Yahoo is not interested in adding libraries, and I have had no luck figuring out how to upload a library and then getting LWP to recognize it's path.
Net::SSLeay object version 1.25 does not match bootstrap parameter 1.85 at ../lib4/Net/SSLeay.pm line 444.
Compilation failed in require at ../lib4/IO/Socket/SSL.pm line 19.
What I believe it is telling might be that:
18 use IO::Socket;
19 use Net::SSLeay 1.46;
20 use IO::Socket::SSL::PublicSuffix;
21 use Exporter ();
The object file (ver 1.25) is the library on the host... IO/Socket/SSL.pm wants to know (ver 1.46)... and Net/SSLeay.pm wants (ver 1.85)
Thank you very much for your help
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.