Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump yahooquery from 2.3.2 to 2.3.7 in /etc/requirements_dependabot #93

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Bumps yahooquery from 2.3.2 to 2.3.7.

Release notes

Sourced from yahooquery's releases.

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

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

Fix

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

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.

Changelog

Sourced from yahooquery's changelog.

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

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

Fix

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

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

2.3.3

Update

  • Try and obtain cookies and a crumb during Ticker initialization so they can be used in further requests.
Commits
  • 57a73fc Merge pull request #248 from dpguthrie/add-consent-handling
  • 399284b Update logic for finding consent in url
  • 2047ddc Add logic to setup a session when logging in is unsuccessful
  • 3a06edb Update package dependencies
  • f2e4ee9 Fix trailing whitespace
  • 928bdb9 Add changelog for 2.3.7
  • a4513d0 Add logic for consent screen
  • ff568c8 Merge pull request #245 from dpguthrie/fix-session-setup
  • 97be8f8 Update for 2.3.6
  • 8372251 Remove f-string
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [yahooquery](https://github.com/dpguthrie/yahooquery) from 2.3.2 to 2.3.7.
- [Release notes](https://github.com/dpguthrie/yahooquery/releases)
- [Changelog](https://github.com/dpguthrie/yahooquery/blob/master/CHANGELOG.rst)
- [Commits](dpguthrie/yahooquery@v2.3.2...v2.3.7)

---
updated-dependencies:
- dependency-name: yahooquery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 18, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 4, 2024

Looks like yahooquery is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 4, 2024
@dependabot dependabot bot deleted the dependabot/pip/etc/requirements_dependabot/yahooquery-2.3.7 branch January 4, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants