new stock price update problem

Jack ostroffjh at users.sourceforge.net
Mon Aug 13 16:17:34 BST 2018


For the past few months, I've been using Marketwatch to fetch stock  
prices.  The last time I used it was a week or so ago, and it worked  
fine then.  Today, it's failing, and it looks like what's happening is  
that the response to the initial request (for example  
https://www.marketwatch.com/investing/stock/PFE) is not the actual  
result, but a link which I suppose is effectively a redirect:

<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta  
charset=\"UTF-8\">\n    <link rel=\"shortcut icon\"  
href=\"about:blank\">\n        <script  
src=\"https://cdnjs.cloudflare.com/ajax/libs/json3/3.3.2/json3.min.js\"></script>\n     
<script  
src=\"https://resources.kasadapolyform.io/kpfp.js\"></script>\n     
<script  
src=\"/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/fingerprint/script/kpf.js?url=/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/fingerprint&token=b6d290af-6ec5-c871-85a5-7ea407e7f196\"></script>\n</head>\n<body>\n</body>\n</html>\n

I'm guessing it's an intentional change to thwart automated price  
downloads.  Is there any way to make this work, or do I just need to  
find another source to use?

Jack


More information about the KMyMoney-devel mailing list