-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I discovered the gem was returning 0.0 exchange rates, having checked the source it would seem the yahoo finances request is returning a 403:
http = Net::HTTP.new('download.finance.yahoo.com', 80)
=> #<Net::HTTP download.finance.yahoo.com:80 open=false>
>> response = http.get("/d/quotes.csv?e=.csv&f=sl1d1t1&s=EURGBP=X")
=> #<Net::HTTPForbidden 403 Forbidden readbody=true>
>> response.body
=> "<html><head><title>Yahoo! - 403 Forbidden -- error 403</title></head><body>It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such", " the service is being discontinued. For all future markets and equities data research", " please refer to finance.yahoo.com.</body></html>"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels