Created
September 28, 2017 05:08
-
-
Save mikaelz/afda7b378d163becef262f1bea9ee5dd to your computer and use it in GitHub Desktop.
Get YouTube result titles text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parsed = [], titles = $$('h3 a'); | |
for (i in titles) { | |
parsed.push((titles[i].text).trim()); | |
} | |
console.log(parsed); | |
//copy(parsed); // Copy to clipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment