leonh316 / youtube-auto-watch-later

Automatically adds videos from your YouTube subscriptions to the watch later playlist.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The script automatically adds videos from all your YouTube subscriptions into your watch later list.

Didn't find any signs of such functionality available natively... which is weird. Am I missing something?

Anyways, I've taken time and wrote a simple google script to do that for me. For anyone interested feel free to use, copy and modify any way you like:

In order for this to work you need to:

  1. Copy the script to your local google drive (so that when I do further changes it will not affect your version).

  2. Have all your YT subscriptions send emails to your gmail about new videos and label them with the "YouTube WL" label (keep the uppercase letters and remove the quotes).

  3. Enable advanced services in google - YouTube Data API v3.

  4. Select "AddNewVideosToWatchLater" on the left side of the screen.

  5. Run "AddAddNewVideosToWatchLaterTrigger" function once (it will add trigger for you).

  6. Press "save".

  7. You may also want to add "notifications" to get errors to your email if any.

  8. That should be it.

If there are any problems or unexpected behavior do the following:

  1. Open the script.

  2. Select "AddNewVideosToWatchLater" on the left side of the screen.

  3. Select and run "AddNewVideosToWatchLater" function once.

  4. Press ctrl+enter or visit view->logs menu and look for errors.

  5. What script essentially does is parses all unread messages with "YouTube WL" label, gets video url form them and then marks them read.

If there are any questions/proposals/improvements/bugs - feel free to leave a comment.

The script is free to use/modify/extend.

If you still like to express your gratitude - there is http://donate.diraven.com/ . =)

Thanks and good luck. =)

About

Automatically adds videos from your YouTube subscriptions to the watch later playlist.


Languages

Language:JavaScript 100.0%