Skip to content

Instantly share code, notes, and snippets.

@urigoren
Last active January 29, 2023 13:04
Show Gist options
  • Save urigoren/fde89fcfa454627152f83e41c3927572 to your computer and use it in GitHub Desktop.
Save urigoren/fde89fcfa454627152f83e41c3927572 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fuhrmanator
Copy link

Hello - Thanks for this gist! Before anyone else tries, I think this method isn't so great for a few reasons:

  1. OAuth changed and you need to link back to a server running on local host, which is not easy to get running in colab. I ran this solution for a server, and used flow.run_local_server(), but had to hack the last step because I couldn't figure out how to redirect to the colab web server.
  2. Youtube uploads under the API are now set with a quota of 10k "points" per day, which amounts to about less than 10 videos per day (each one is around 1.6K "points"). So, despite the beauty of finding all your videos in Google Drive, only a handful will successfully upload (althought it's super fast because you don't use your local bandwidth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment