kelvinyap2014 / yahoo-finance-managed

Automatically exported from code.google.com/p/yahoo-finance-managed
0 stars 0 forks source link

CompanyProfileDownload #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
with the latest version (0.11) if you try with "URRE" (Uranium Resources, 
Inc.), the result is empty.

I've digged a bit, and the problem is this line (291, in ConvertResult funct):

 if (res != null && (res.CompanyName == string.Empty || res.Address == string.Empty || res.BusinessSummary.StartsWith("There is no "))) { res = null; }

Actually, there's no address in the res var and for that reason res is null...

1) there's a parse error in the address part
2) why you nullify the entire result is some information are missing? (maybe 
you can "EnablePartialResult" in the settings ...

Yahoo Profile link: http://finance.yahoo.com/q/pr?s=urre

rgds /// Angel

Original issue reported on code.google.com by i...@advancedcomputing.ch on 23 Mar 2012 at 10:09

GoogleCodeExporter commented 8 years ago
The error in in the length check (Fixed 8, but it's 9)

maybe you can put something >= 7

Angel

Original comment by i...@advancedcomputing.ch on 23 Mar 2012 at 10:15

Attachments:

GoogleCodeExporter commented 8 years ago
and the problem comes with the geo map link...

Original comment by i...@advancedcomputing.ch on 23 Mar 2012 at 10:19

GoogleCodeExporter commented 8 years ago

Original comment by Maas...@gmail.com on 30 Apr 2012 at 12:48