Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

85
Views
Scraping google maps reviews but it return only one user rating

I am working on a scraping project in which I am scraping google maps reviews with the help of this URL: https://www.google.com/async/reviewDialog?hl=en&async=feature_id:0x47e66e2964e34e2d:0x8ddca9ee380ef7e0,sort_by:,start_index:,associated_topic:,_fmt:pc

and parsing it with cheerio:

$('.lcorif').each((i,el) => {

    rating[i] = $(el)
    .find(".EBe2gf").attr("aria-label")
    console.log(i)
    console.log(rating) //it gives me only first rating

 })

How can I get all user's ratings in the correct way?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

So I found out that the parent selector tag is only iterating the loop once, so I used this:

$('.gws-localreviews__google-review').each((i,el) => {
        rating[i] = $(el)
       .find(".EBe2gf").attr("aria-label")
})

And I got all user's ratings.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!