Naposledy aktivní 1730172920

yfinance-10.py Raw
1import requests_cache
2session = requests_cache.CachedSession('yfinance.cache')
3session.headers['User-agent'] = 'my-program/1.0'
4ticker = yf.Ticker('msft', session=session)
5# The scraped response will be stored in the cache
6ticker.actions