bitnom / colabctl

Google Colaboratory background/task executioner & controller.
GNU General Public License v3.0
253 stars 80 forks source link

Cookie is not being saved - script stuck #2

Open rburhum opened 4 years ago

rburhum commented 4 years ago

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?

Cassandra-Jacklya commented 2 years ago

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!