Skip to content

Instantly share code, notes, and snippets.

@Jobayer-Ahmed
Last active November 12, 2017 08:07
Show Gist options
  • Save Jobayer-Ahmed/43238638c3f7026ded25c9ef2068ef30 to your computer and use it in GitHub Desktop.
Save Jobayer-Ahmed/43238638c3f7026ded25c9ef2068ef30 to your computer and use it in GitHub Desktop.

Step1:

go to www.google.com and search anything.

Step2:

Open your console. activate your artoo.

Step3:

copy the code and paste it into your console.

var x = [];
var numberList = 0;
var GetTitle = artoo.scrape('.rc .r', {
	title: 'text'
});
for (var i = 0; i < 3; i++) {
	x.push(GetTitle[i]);
	numberList++
}
console.log(x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment