Last active
August 30, 2017 03:19
-
-
Save ktaragorn/a0ff7153a8eab6521fa49ac8276c9083 to your computer and use it in GitHub Desktop.
Get all video urls in your youtube playlist (watch later list in this case). Run this in browser inspect on that page.
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
JSON.stringify(Array.prototype.slice.call(document.querySelectorAll(".pl-video-title-link")).map(function(a){return a.href.replace(/&list=.*/g,'').replace(/&index=.*/g,'')})) |
Remember to extend the list first to show all videos, else only the first 100 will be grabbed
This step is redundant, it is easier to download the public playlist created to clear WL itself since youtube-dl can handle playlists
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trick to empty WL list - add to a different playlist and remove from WL
https://www.reddit.com/r/youtube/comments/2jfdzf/how_to_remove_all_videos_from_watch_later/