mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 17:39:16 +02:00
add possibility to choose license cca for Youtube
This commit is contained in:
parent
ac91e9b918
commit
c8efa820ff
5 changed files with 17 additions and 4 deletions
|
@ -56,7 +56,7 @@ def upload_video(oauth, config, options):
|
|||
fields = [
|
||||
("name", options.get('--name') or splitext(basename(path))[0]),
|
||||
# look at the list numbers at /videos/licences
|
||||
("licence", str(options.get('--licence') or 1)),
|
||||
("licence", "1"),
|
||||
("description", options.get('--description') or "default description"),
|
||||
# look at the list numbers at /videos/privacies
|
||||
("privacy", str(options.get('--privacy') or 3)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue