Google Lens Scraper avatar
Google Lens Scraper
Try for free

3 days trial then $13.00/month - No credit card required now

View all Actors
Google Lens Scraper

Google Lens Scraper

curious_coder/google-lens-scraper
Try for free

3 days trial then $13.00/month - No credit card required now

Scrape google lens and get matching images, website having given image, and extract text from given images in bulk

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "urls": [
9        "https://imageio.forbes.com/specials-images/imageserve/62d700cd6094d2c180f269b9/0x0.jpg?format=jpg&crop=959,959,x0,y0,safe&height=416&width=416&fit=bounds",
10        "https://upload.wikimedia.org/wikipedia/commons/1/18/Mark_Zuckerberg_F8_2019_Keynote_%2832830578717%29_%28cropped%29.jpg",
11    ],
12    "searchType": "findImageSources",
13    "proxy": {
14        "useApifyProxy": True,
15        "apifyProxyGroups": ["RESIDENTIAL"],
16        "apifyProxyCountry": "US",
17    },
18}
19
20# Run the Actor and wait for it to finish
21run = client.actor("curious_coder/google-lens-scraper").call(run_input=run_input)
22
23# Fetch and print Actor results from the run's dataset (if there are any)
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25    print(item)
Developer
Maintained by Community
Actor metrics
  • 4 monthly users
  • 91.7% runs succeeded
  • 0.0 days response time
  • Created in Sep 2023
  • Modified 3 months ago