Closed nstrauss closed 10 months ago
Slightly optimize the Canva download recipe by removing a processor relying on regex for an extant URL. Ran across this when running recipes in CI and the virtual runner wasn't properly finding a match.
https://www.canva.com/download/mac/ already exposes https://www.canva.com/download/mac/universal/canva-desktop which redirects to the latest Canva version. No need to use URLTextSearcher to find a static URL. Instead move the user agent option to URLDownloader which ends up with the same result.
URLTextSearcher
URLDownloader
Thanks, @nstrauss
Slightly optimize the Canva download recipe by removing a processor relying on regex for an extant URL. Ran across this when running recipes in CI and the virtual runner wasn't properly finding a match.
https://www.canva.com/download/mac/ already exposes https://www.canva.com/download/mac/universal/canva-desktop which redirects to the latest Canva version. No need to use
URLTextSearcher
to find a static URL. Instead move the user agent option toURLDownloader
which ends up with the same result.