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

v14: backport a few scraper fixes/adjustments from v15 branch. #1086

Closed
wants to merge 3 commits into from

Conversation

jayaddison
Copy link
Collaborator

Miscellaneous small scraper adjustments/fixups from v15 that I think may be worthwhile to apply to the current mainline / v14 series.

This should also make the comparison diff between the next v14 and v15 release easier to review (both for us and anyone considering using or redistributing v15 releases).

@jayaddison jayaddison requested review from strangetom and jknndy April 23, 2024 11:14
@jayaddison jayaddison force-pushed the backporting/v15-scraper-fixups branch from 45b4159 to b0ea4b9 Compare April 23, 2024 11:17
@jayaddison jayaddison marked this pull request as draft April 23, 2024 21:32
@jayaddison
Copy link
Collaborator Author

Converting to draft while considering whether raising an exception is the best course of action for fields that are not expected to be possible to extract from a particular website.

@jayaddison jayaddison force-pushed the backporting/v15-scraper-fixups branch from 5820cf4 to 6ea883a Compare May 6, 2024 14:22
@jayaddison
Copy link
Collaborator Author

Generally I think the preferable approach is to emit warnings -- but continue to return None as a value -- when we have high confidence that a recipe site doesn't provide info for a particular field. I'll update this branch soon. Note that chefnini is also affected (total_time), although that isn't a v15-backport.

@jayaddison jayaddison closed this May 7, 2024
@jayaddison jayaddison deleted the backporting/v15-scraper-fixups branch May 7, 2024 22:30
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.

1 participant