Will return a JSON array of Youtube Video URLS.
This uses the yt-dlp project to return results based on a youtube query url.
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
- Download the client_secret.json
- use the command line:
./youtubeuploader -secrets client_secret.json -filename video.mp4
- This will open oAUTH and ask for user details
- It will then ask you the youtube channel to post on.
- A new
request.token
file will be generated. - Base64 encode for the github action.
base64 -i request.token -o request.token.b64
base64 -i client_secret.json -o client_secret.b64
- Upload to Github under the Settings > Secrets > Actions as:
- CLIENT_SECRETS_B64
- REQUEST_TOKEN_B64
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