I’m attempting to make a patch within Max that enables the user to type in a search argument, after which the patch then returns & displays an image from google images relating to the argument.
I believe the best way to do this is to use Python & the Py /Pyext objects, though I’ve never used python before. I’ve also been informed that regex would haveto be used within the code in order to extract the the required data from the google image results source.
I’d appreciate any help or advice from anyone out there with experience in Python &/or using regex operations.
Alternatively, if anyone could suggest another solution that doesn’t involve Python, please do.
You could also use [jweb] where you can display the google homepage and just use that. I would probably still go for the [jit.uldl] option though. If you look in the [jit.str.regexp] help file there’s a good examples of downloading images from a website.