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

feat: fix outdated get_expiration_dates function #121

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Icemap
Copy link

@Icemap Icemap commented May 26, 2024

  1. Updated get_expiration_dates function due to the Yahoo Finance page updated, which means the get_expiration_dates function is outdated, FYI: https://finance.yahoo.com/quote/IBM/options?p=IBM
  2. Added unit test case for get_expiration_dates function to ensure the correctness.
  3. Added lxml_html_clean in requires.txt according to the error message: lxml.html.clean module is now a separate project lxml_html_clean.
  4. Updated Metadata-Version and Version.

@Icemap
Copy link
Author

Icemap commented May 30, 2024

Before this PR merged, I forked this project and fixed a bunch of the functions in my repository. If you want to use the fixed package, you can also use pip install yahoo_fin_cheese to install or cover install the original yahoo_fin lib. And just use yahoo_fin_cheese like yahoo_fin, you don't need to change any code of it.

@amostech
Copy link

This PR should be merged! Thanks.

@amostech
Copy link

Also congrats for the fix on lxml_html_clean I also noticed that and struggled with the fix. I wish I had seen this PR before. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants