Retry image download with `max` as size parameter
Some image URLs are forbidden because The requested pixel area exceeds the maximum threshold (max_pixels) set in the configuration
.
What works in that case is replacing the size parameter (set to full
) to max
, to use the maximum size available.
We should catch the exception here and try with max
instead in case of a 40x
.
Edited by Yoann Schneider