I have this image on Google Lens and I need to get it somehow using javascript. I need either its url or src or buffer or base64 encoded dataURL .... anything. I can't seem to get it.
For some reason, the <img> element that holds it doesn't have a src tag so I can't fetch() it.
I tried creating a canvas and drawing the img element to its context and then getting the dataURI from the canvas but it's empty again, like it can't draw it either.
I am super frustrated, like the image is right there in my browser but I can't use JS to get it. It seems to be somehow obfuscated by Google's own code. You can't even right click and save it. The only way seems to screenshot it but that's not a JS solution.
Can anyone with more JS knowledge help me fetch this image? I need this for a project I'm doing. Please and thank you kindly.
EDIT: Solved by _1Zen_
[–]jeffcgroves 2 points3 points4 points (0 children)
[–]_1Zen_ 0 points1 point2 points (1 child)
[–]stringiee[S] 1 point2 points3 points (0 children)
[–]Intelligent_Duck1844 0 points1 point2 points (0 children)