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

91
Views
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
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!