Skip to content

apomerenk/youtube_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To be used with zapier. https://zapier.com/app/assets/zaps This script automatically:

  • checks the input playlist and builds up set of video ids
  • looks at all subscribed channels and pulls non-shorts videos they published in the last x days
  • if the video isn't already in the playlist, adds it

steps

  1. set up a zap
  2. set it to trigger every day
  3. set up a custom action
  4. copy this script into the custom action
  5. set the playlist id in the custom action
  6. let it run every morning

Google Apps Script version (YouTube Advanced Service)

  • File: google_apps_script.js
  • Setup steps:
    1. In Apps Script, open google_apps_script.js (or paste it in).
    2. Services (puzzle-piece icon) → Add “YouTube Data API v3”.
    3. Set playlistId at the top of the script.
    4. Save the project; run once to authorize.
    5. Triggers (clock icon) → Add Trigger:
      • Function: manageYouTubeSubscriptionsAndPlaylist
      • Event source: Time-driven → Day timer → pick a daily window.
    6. Save the trigger; the script will run daily.

About

a script for adding subscription videos to a youtube playlist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors