Fixed the Yahoo service URL. Last time the previous URL worked was on 2015-03-11.

This commit is contained in:
Miku Laitinen
2015-07-28 16:13:17 +03:00
parent 503711e662
commit 063509afdc

View File

@@ -34,7 +34,7 @@ class YAHOO_getter(Currency_getter_interface):
"""implementation of abstract method of curreny_getter_interface"""
self.validate_cur(main_currency)
url = ('http://download.finance.yahoo.com/d/'
'quotes.txt?s="%s"=X&f=sl1c1abg')
'quotes.csv?s=%s=X&f=sl1c1abg')
if main_currency in currency_array:
currency_array.remove(main_currency)
for curr in currency_array: