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

308
Views
¿Cómo raspar los resultados relacionados que aparecen en los resultados de búsqueda de Google?

Hola, estoy trabajando en un proyecto de raspado para raspar los resultados de búsqueda de Google, pero no puedo encontrar la manera de raspar los resultados relacionados con su resultado respectivo:

Esta imagen muestra el resultado relacionado debajo de SerpApi - GitHub

Esta imagen muestra el resultado relacionado debajo de SerpApi - GitHub

Quiero el resultado en este formato:

 { "position": 2, "title": "SerpApi - GitHub", "link": "https://github.com/serpapi", "displayed_link": "https://github.com › serpapi", "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTafCQTO0unWWglFkuLJV72Vkezw2pEFbbyJf4kuXTkDaoqAu5vZdpD&usqp=CAE&s", "snippet": "API to get search engine results with ease. SerpApi has 45 repositories available. Follow their code on GitHub.", "related_results": [ { "position": 1, "title": "GitHub - serpapi/google-search-results-python", "link": "https://github.com/serpapi/google-search-results-python", "displayed_link": "https://github.com › serpapi › google-search-results-pyt...", "snippet": "This Python package is meant to scrape and parse search results from Google, Bing, Baidu, Yandex, Yahoo, Home depot, Ebay and more.. using SerpApi.", } ] }

Actualmente solo puedo apuntar a resultados orgánicos como este:

 $(".tF2Cxc ,.kWxLod ").each((i, el) => { organicResults[i] = ({ title: $(el).find(".yuRUbf h3").text(), link:$(el).find("div.yuRUbf a").attr("href"), displayed_link:$(el).find(".yuRUbf .NJjxre").text(), snippet: $(el).find(".VwiC3b").text() }) })

lo que me da solo esta parte:

 { "title": "SerpApi - GitHub", "link": "https://github.com/serpapi", "displayed_link": "https://github.com › serpapi", "snippet": "API to get search engine results with ease. SerpApi has 45 repositories available. Follow their code on GitHub.", }

¿Cómo puedo agregar related_results a este resultado orgánico?

Nota: estoy usando cheerio para analizar html aquí.

about 4 years ago · Juan Pablo Isaza
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!