Voice translator in python

I have used this code- https://github.com/Alekh-sinha/google_translator/blob/master/text_to_speech_3.py for doing voice translation.It basically converts speech to text then translate that text and then it converts translated text back to the voice. I wanted to use this for videos running on my PC so I enabled stereo mix in my PC and it worked. But when I applied same principal to skype call, it is not working. I will be very grateful of somebody will help me in this