Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

How to set video details when uploading to YouTube with Python API client

$
0
0

Follow-up on How to set video language when uploading to YouTube with Python API client, after successfully setting the video language.

I am uploading videos to YouTube programmatically following the official guide:

  body=dict(    snippet=dict(      title=title,      description=description,      tags=tags,      categoryId=10,  # Music.      defaultLanguage=language,  # Title and description launguage.      defaultAudioLanguage=language,  # Video language.    ),    status=dict(      privacyStatus="public"      embeddable=True,      publicStatsViewable=True,      publishAt="2024-04-04T18:00:00+00:00",      selfDeclaredMadeForKids=True,    )  )

I can upload the video, set the title, the description, their language, the video's language, the scheduled publishing date, etc. I can also upload a thumbnail.

But the web interface has other details that I can't see how to set programmatically:

  • Does the video contain altered content
  • Allow automatic chapters and key moments
  • Allow automatic concepts
  • Don't allow remixing

How can I set these additional details?


Viewing all articles
Browse latest Browse all 3638

Trending Articles