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 Recipe from File #368

Closed
smilerz opened this issue Mar 29, 2021 · 3 comments
Closed

Scrape Recipe from File #368

smilerz opened this issue Mar 29, 2021 · 3 comments

Comments

@smilerz
Copy link
Contributor

smilerz commented Mar 29, 2021

I'd like to be able to scrape a recipe from file (html) and leverage the existing scrapers.

Is that possible?

@bfcarpio
Copy link
Collaborator

You could try serving the html and then using the localhost url.

As a quick and janky way you could try replacing the testhtml file of a scraper test as long as the file comes from a supported recipe site.

As for a nice and clean solution I don't think so.

@smilerz
Copy link
Contributor Author

smilerz commented Apr 3, 2021

i created a wrapper to accomplish this

@smilerz smilerz closed this as completed Apr 3, 2021
@bfcarpio
Copy link
Collaborator

bfcarpio commented Apr 3, 2021

That's great! Feel free to share your wrapper in #9

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

No branches or pull requests

2 participants