Created
March 29, 2013 00:05
-
-
Save ShaneQful/5267823 to your computer and use it in GitHub Desktop.
Grabs YouTube captions and outputs text for however many lines you want. Wrote it to translate Italian news with my sister in it.
This file contains hidden or 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
for(var i = 0; i < 12; i++){ | |
console.log($('#cp-'+i).innerText.replace(/\d:\d+/, '')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment