Youtube-upload and google youtube api - more in-depth control of the download process

I am not a Python programmer or YouTube API specialist. This is also my first StackOverflow post. I am fine with Linux, programming in general and bash scripts.

I am currently testing the youtube-upload program. I developed a bash script that determines which videos are not uploaded yet by comparing the md5 checksums and creating a registered bash script that then uploads new videos with descriptions, tags and titles using the youtube-upload Python application. The boot process works well.

However, the downloaded videos do not use the default YouTube channel settings, including the default distribution of playlists and the most advanced settings (some of them are available when downloading the browser). This means that I have to view the downloaded videos one at a time to change the playlist to which the video belongs, and most of the settings on the Advanced Settings tab for the video, which takes a lot of time for hundreds of short videos.

I could not find any indication on Google that the V3 YouTube API provides playlist distribution or many advanced settings.

I have the following questions:

  • Does anyone know if playlist distribution and advanced settings are distributed in the YouTube API? If not, will they ever be?

  • If the API provides a control, does anyone know how I can use bash (or Python β€” which seems relatively easy to learn) to change the playlist distribution and advanced settings for uploaded videos or new videos uploaded by YouTube-upload?

  • If the API does not open the control, is there another method, I do not know where I can create code that controls the browser (FireFox) to change these settings for all downloaded videos?

It seems to me that if the YouTube API does not disclose these parameters, then the YouTube upload process cannot be fully automated. My goal is to fully automate the entire process, including the playlist and advanced settings.

+4
source share
1 answer

API for associating a resource with a playlist Playlists \ https://developers.google.com/youtube/v3/docs/playlistItems .

You can use the list example to see / get playlist identifiers (if you forgot it ...). Then use paste to add your asset to the playlist.

Excerpt from Insert Link:

You must specify a value for these properties:

  • snippet.playlistId
  • snippet.resourceId

You can set values ​​for these properties:

  • snippet.playlistId
  • snippet.position
  • snippet.resourceId
  • contentDetails.note
  • contentDetails.startAt
  • contentDetails.endAt
0
source

All Articles