mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 09:29:16 +02:00
Add nsfw option for Peertube only, YT api does not support it at the moment
This commit is contained in:
parent
0295402194
commit
7c12bcbc31
3 changed files with 12 additions and 9 deletions
|
@ -64,7 +64,7 @@ def upload_video(oauth, config, options):
|
|||
("licence", "1"),
|
||||
("description", options.get('--description') or "default description"),
|
||||
# look at the list numbers at /videos/privacies
|
||||
("nsfw", "0"),
|
||||
("nsfw", str(int(options.get('--nsfw')) or "0")),
|
||||
("channelId", get_userinfo()),
|
||||
("videofile", get_videofile(path))
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue