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

Adding Opengraph.io API to scrape websites and read/infer open graph tags. #120

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

primeobsession
Copy link

Description

Added 2 tools with tests to scrape and get open graph tags for websites.

I created 2 tests. Please let me know if you would like me to make any changes.

Tools Added

  • OpenGraphScrapeWebsiteTool - Scrapes any website. Will leverage proxies as needed.
  • GetOpengraphTagsTool - Gets open graph tags for a site and also inferred tags based on site content.

Testing

I created an API key to test this with. Just export the environment variable as follows:

export OPENGRAPHIO_API_KEY=e03a31d3-2c53-4385-a233-02a84c020bee   

@joaomdmoura
Copy link
Collaborator

Looks good but missing a init import if you dont mind adding it :)

@primeobsession
Copy link
Author

Hi @joaomdmoura! I added the init imports. Please let me know if there is anything else you need!

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