Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

92
Visualizações
Webscraping more than one result at a time

What I'm trying to do:

I have an array with the words "one, two, three" in it, and I want to use it to search up 3 results on google, and return the results all at once. So, search up the word "one", search up the word "two", search up the word "three", return the results of all three searches.

What I currently know how to do:

Right now, I only know how to search up the results once, and that's it. I don't know how to do more than 1 search. How would I go about doing more than 1 search at once? Any example codes would be greatly appreciated.

// ==UserScript==
// @name        google
// @match       *^https://www.google.com/search?q=one*
// @version     1
// @require     https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @grant       GM_xmlhttpRequest
// @run-at document-end

// ==/UserScript==

var html;
var text;
var array = ["one", "two", "three"];

html = document.getElementsByTagName('html')[0];
text = html.innerHTML;
console.log(text);
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda