I want to get some live data from a streaming source. At first, I coded a little demo script to get data from one source and it worked fine. The code looks like this: