If you want to use multiple copies of this Shortcut with different settings, change the file name in the following field to a unique name for each copy, e.g. config_2.json. This can be adjusted using this Shortcut’s setup questions.
Update check
Check internet connection
<<<< End updater & config
Begin Tandoor import >>>>
Get HTML from input if possible
Check if scraper exists for this website
CURRENTLY DYSFUNCTIONAL DUE TO CHANGES AT SCRAPER PROJECT
Using latest scraper version for now and hoping for the best
DISABLED until Tandoor uses scrapers for bookmarklet imports.
https://github.com/TandoorRecipes/recipes/issues/3505
For now, the workaround is the “otherwise” branch. When it is no longer needed, the check for the importer variable later on is also obsolete (while the variable keeps being used).
HTML is available, check for json recipe
Use regular bookmarklet import
Find at least an image for use with AI-supported import
get text from non-URL inputs
Check if content might be too long for AI. (Best guess for character limits…)