Releases: dpguthrie/yahooquery
Releases · dpguthrie/yahooquery
2.3.7
2.3.7
Add
- Logic for handling setting up a session when a consent screen is encountered. This is primarily seen in European countries
and should allow for the continued use of this package. - Keyword argument,
setup_url
, to the base_YahooFinance
class that allows a user to override the url used in setting up the session. As a default the Yahoo Finance home page is used (https://finance.yahoo.com). You can also create an environment variable,YF_SETUP_URL
that will be used if set. Example usage:import yahooquery as yq t = yq.Ticker('aapl', setup_url='https://finance.yahoo.com/quote/AAPL')
Remove
- Webdriver manager is no longer used internally. Selenium Manager is now fully included with selenium
4.10.0
, so this package is no longer needed.
2.3.6
2.3.5
2.3.4
2.3.4
Update
- Use a different url to try and obtain cookies (fc.yahoo.com no longer works)
- Refactor how a session is initialized
- Use the country as a way to make the request to obtain cookies be more location specific
Important Note
The biggest change is to no longer use fc.yahoo.com
as the means to initially retrieve the cookies and crumb required to make requests. This is still like playing whack-a-mole a bit and will still probably be location dependent on whether or not you're actually able to retrieve data from the different properties/methods.
2.3.3
Added
- Initialize session with required cookies
- Create larger list of rotating user-agents with related headers
- Added webdriver-manager for selenium functionality
- Changed from flit to poetry
- Added additional package files that will help with testing and development
Important Note
This is a somewhat experimental release with trying to get around Yahoo's requirement for a crumb when making a request. I don't imagine this to work 100% of the time and will most likely have to iterate on this implementation to get around other ways YF tries to stop these requests.
2.3.2
2.3.1
v2.3.0
Added
dividend_history
method that returns historical dividends paid for a given symbol(s)
Fixed
history
method has been refactored pretty heavily with the help of @maread99 (Thank you!). Timezone info is now included in thedate
column. Also, a dataframe will always be returned regardless of bad symbols existing. Previously, a dictionary was returned with the json response for the bad symbol(s) and dataframes for successful responses.