jonnekaunisto / simple-youtube-api

Object-oriented Wrapper for Youtube API in Python
https://simple-youtube-api.rtfd.io
Other
76 stars 16 forks source link

Add ability to pass datetime object to set_publish_at function in LocalVideo class #19

Open jonnekaunisto opened 4 years ago

jonnekaunisto commented 4 years ago

The function should:

Take in the datetime object Check that the datetime is valid, meaning it is not in the past and is either an hour or 30 mins(ex 12:00, or 12:30) not 12:45. Format the string into the proper format which is: publish_time.strftime('%G-%m-%dT%H:%M:%S.000Z') Check if the video is private.

lbarraga commented 1 year ago

hi, is this implemented? I am struggling with the publish time