2

I would like to automate a weekly upload of a video to our Youtube channel via Powershell script which I can schedule in Task Scheduler.
Is that possible ?
I created a Project in the Google Developers Console. I got myself a Client ID and Client secret for the Oauth. And I saw examples in Java, Javascript, Python, .NET,... https://developers.google.com/youtube/v3/guides/uploading_a_video. But I got lost... Anyone who could give me some practical tips ? Thanks a lot.

Filip BA
  • 71
  • 8
  • I found this interesting link : https://github.com/tokland/youtube-upload I unzipped it, ran the setup. But when I try an upload, I get this error : File "D:\Python27\youtube-upload-master\youtube_upload\upload_video.py", line 10, in from . import lib ValueError: Attempted relative import in non-package – Filip BA Dec 13 '15 at 20:53
  • I had to run the .bat file. Now the command starts. Still having other issues now... – Filip BA Dec 13 '15 at 21:05
  • I can confirm you that this solution on http://github.com/tokland/youtube-upload works fine ! Afterwards I can simply run the Python command from within Powershell ! Awesome :-) – Filip BA Dec 14 '15 at 20:13
  • I just get `raise ResponseNotReady()` errors – stib Aug 22 '17 at 08:41
  • Can this help ? https://stackoverflow.com/questions/3231543/python-httplib-responsenotready – Filip BA Aug 23 '17 at 10:13

0 Answers0