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

GRC price update #59

Merged
merged 4 commits into from
Feb 12, 2025
Merged

GRC price update #59

merged 4 commits into from
Feb 12, 2025

Conversation

jwaggy
Copy link
Contributor

@jwaggy jwaggy commented Feb 6, 2025

The current price fetching method with coingecko and yahoo does not work because of various website updates. This pull request uses sites that have the info scrapeable and also accessable by regex or beautifulsoup. I used beautifulsoup because it was easier to find the price and scrape it that way.

@makeasnek
Copy link
Owner

Thank you for writing this! It looks like the tests are failing on the new function, can you please fix? I'm happy to include these improvements :)

…nction into retriever and parser. Adds soups for testing.
@jwaggy
Copy link
Contributor Author

jwaggy commented Feb 8, 2025

I made some updates to the tests. Let me know if they are sufficient or if I need to make improvements.

@jwaggy
Copy link
Contributor Author

jwaggy commented Feb 10, 2025

I'm honestly not sure what to do here. I can't replicate this locally and the path looks to be correct.

@jwaggy
Copy link
Contributor Author

jwaggy commented Feb 10, 2025

Never mind. I think I figured it out. The tests use python 3.8 and I was using python 3.9 type hints.

@makeasnek
Copy link
Owner

Merged, thank you for contributing to FTM!

@makeasnek makeasnek merged commit 608642b into makeasnek:main Feb 12, 2025
1 check passed
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