Created
November 4, 2014 15:39
-
-
Save kkotaro0111/5d4adcded25e75ee15cb to your computer and use it in GitHub Desktop.
youtubeの「動画の管理」ページにある動画リストの、動画名とURLとをリスト化するスクリプト
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
| function createList(){ | |
| var a = document.getElementsByClassName("vm-video-title-content"); | |
| var n = a.length; | |
| for(var i = 0; i < n; i++){ | |
| var b = a[i]; | |
| var c = b.href; | |
| var d = b.innerText; | |
| console.log(d); | |
| console.log(c); | |
| console.log(""); | |
| } | |
| } | |
| createList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment