Now we are back to a working script...

Sorry about that. I didn't include the requests lib, here it is