downloading folders from google drive.

I wanted to download some course material on RL shared by the author via Google drive using the command line.  I got a bunch of stuff using wget a folder in google drive was a challenge. I looked it up in SO which gave me a hint but no solution. I installed gdown using pip and then used: gdown --folder --continue if there are more than 50 files you need to use --remaining-ok and only get the first 50. In such a case its best to download using the folder using the UI and decompress locally. Decompressing from the command line created errors related to unicode but using the mac UI I decompressed without a glitch.

Avoid cross site scripting errors with a Jupyter local runtime

So the trick is to use


and get the token from the command line when connecting to Google collab.

jupyter notebook --NotebookApp.allow_origin='' \
  --port=9090 --no-browser



Popular posts from this blog

downloading folders from google drive.

Insight into progressive web apps

AWS CloudFormation Pros and Cons