bitnom/colabctl

Cookie is not being saved - script stuck

rburhum opened this issue · 1 comments

Hello,

I tried to run the script, but I see that it is getting stuck here: https://github.com/TensorTom/colabctl/blob/master/colabctl.py#L148

When I run the script, the google auth page comes up. I put my credentials (I also have two factor authentication setup), and then the script halts. I assume the XPath is not finding wherever the cookie is set. Is there a way to save the cookie manually in gCookies.pkl file?

I tried changing it to just this = '//*[@id="yDmH0d"]' instead of the full length not sure if it will work for you. It works for me I finally got past that. But I do still have problems in letting it automatically run my google colab code. If yours work do let me know!