Skip to content

Releases: dpguthrie/yahooquery

2.3.7

16 Dec 18:43
57a73fc
Compare
Choose a tag to compare

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

08 Dec 16:13
ff568c8
Compare
Choose a tag to compare

2.3.6

Fix

  • Use the previously instantiated session within the Ticker class (that may also contain proxies, other important session info) to retrieve both cookies and a crumb

2.3.5

06 Dec 21:48
Compare
Choose a tag to compare

2.3.5

Fix

  • Fix bad assignment to crumb when using username/password for premium access

2.3.4

06 Dec 20:44
1a8269b
Compare
Choose a tag to compare

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

28 Oct 17:38
5da0b49
Compare
Choose a tag to compare

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

15 Jul 19:30
Compare
Choose a tag to compare

Update

  • Update quote summary endpoint from v10 to v6. The v10 endpoint currently requires a crumb as a query parameter, which is not something this library does not currently support.

Fix

  • Bug related to retrieving screen IDs with a number

Contributors

2.3.1

18 Mar 20:47
Compare
Choose a tag to compare

FIx

  • Fixes for history method

v2.3.0

22 Jan 19:37
041fc2a
Compare
Choose a tag to compare

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 the date 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.