update uploading functions
This commit is contained in:
1 parent
61fe9eca25
commit
d4db0b04a4
9 files changed
+85
-55
No files matched your search
@@ -9,4 +9,5 @@ __all__ = [
|
||||
"find_tags",
|
||||
"get_top_nouns",
|
||||
"upload_video",
|
||||
]
|
||||
"CategoryId",
|
||||
]
|
||||
@@ -43,6 +43,8 @@ def upload_video(file_path: str, title: str, category: CategoryId, description:
|
||||
release_time (datetime): Optional timezone-aware UTC datetime object for timed release
|
||||
|
||||
schedule_date = datetime.now(timezone.utc) + timedelta(days=2)
|
||||
Returns:
|
||||
a String(str) of with the youtube video id or None if somthing fails
|
||||
"""
|
||||
if tags is None:
|
||||
tags = []
|
||||
|
||||
Reference in new issue
Block a user