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

Scrape any website supporting JSON-LD schema #45

Open
shaniqwa opened this issue May 5, 2021 · 1 comment
Open

Scrape any website supporting JSON-LD schema #45

shaniqwa opened this issue May 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@shaniqwa
Copy link
Contributor

shaniqwa commented May 5, 2021

suggestion for improvement

As more websites now support JSON-LD schema with a specific type of Recipe, it's possible to look for that script tag in any website. If we find a recipe schema, we can scrape it! and it's very easy to implement, as it only requires one Default Scraper that will run if no known website is detedted by domain.

@jadkins89
Copy link
Owner

I would gladly accept a PR for a generalized scrape. It would be great to iterate on this a bit in the future and make contingency checks if the schema doesn't exist to attempt some of the most common patterns. A lot of these websites use templates that are very similar in construction.

@jadkins89 jadkins89 added the enhancement New feature or request label May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants