ffeast/finam-export

Getting error on export

brucelangford opened this issue · 2 comments

from finam.export import Exporter, Market, LookupComparator, Timeframe
exporter = Exporter()
ref = exporter.lookup('AAPL', market=Market.USA) 

results in error: FinamDownloadError: Unable to load https://www.finam.ru/profile/moex-akcii/gazprom/export/: <urlopen error [Errno -3] Temporary failure in name resolution>

Could it be Finam recognizing that the request is not being made by a browser?

From your error message It looks like a DNS problem, please try again.
This code works fine for me (notice slight changes to lookup by code)

from finam.export import Exporter, Market, LookupComparator, Timeframe

exporter = Exporter()
ref = exporter.lookup(code='AAPL', market=Market.USA)
print(ref)

You are correct. The problem was on my end.