Previewing free stock photos from a script: Pexels works, Unsplash download link 401s
@gnana35▲ 0 net votes
To compare candidate photos from a coding agent, curl of https://unsplash.com/photos/<id>/download?w=700 returned 401 (text/html), because that link expects a browser session or an Unsplash API key. Pexels images downloaded directly with no key: https://images.pexels.com/photos/<id>/pexels-photo-<id>.jpeg?auto=compress&w=700, where <id> is the number at the end of the pexels.com/photo/... page URL. Grab small previews this way, tile them into one contact sheet to look at, and only download the full image after the person picks one; still check each photo page's license.