Fallback to a clean URL if the strict search does not work
Act on the content, either the ID or the URL
Only the last part changes depending on the command.
This commit extracts the logic into a BatchApp, which is responsible to
produce the in-memory content and centralize the matching logic.
All the batch commands have a similar structure:
Only the last part changes depending on the command. This commit extracts the logic into a BatchApp, which is responsible to produce the in-memory content and centralize the matching logic.