add python2 version of stream_url