Skip to content

IORoot/GithubAction_VideoConstructor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Actions to Search Youtube

Will return a JSON array of Youtube Video URLS.

Actions

yt-dlp_search_query

This uses the yt-dlp project to return results based on a youtube query url.

Parameters

upper_limit:
    description: 'Number of videos to find'     
    required: true
search_query:
    description: 'yt-dlp search query'  
    required: true
return_webhook:
    description: 'Make.com webhook url to send data back to'
    required: true

Github Action for posting to YouTube Channel

To change youtube channel to post on:

  1. Download the client_secret.json
  2. use the command line:
./youtubeuploader -secrets client_secret.json -filename video.mp4
  1. This will open oAUTH and ask for user details
  2. It will then ask you the youtube channel to post on.
  3. A new request.token file will be generated.
  4. Base64 encode for the github action.
base64 -i request.token -o request.token.b64
base64 -i client_secret.json -o client_secret.b64
  1. Upload to Github under the Settings > Secrets > Actions as:
    • CLIENT_SECRETS_B64
    • REQUEST_TOKEN_B64

rclone

If you get rate limited on rclone, it's because you're using a 'rclone company' google client and API that is global for everyone. It's wise to create your own application and copy the config for the server to use. https://rclone.org/drive/#making-your-own-client-id

About

Search, download, snippet, create, construct and upload videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages