There are a few apps which can do this, most are illegal to use, as they violate the 'acceptable use policy' of the site doing the streaming.
Another point to consider is that if your recording a stream which is already compressed, your newly acquired stream will then have gone through a second re-compression, further degrading the quality.
You can read previous threads about the legality of some of these apps here
http://www.oldversion.com/talk/index.php?a...=986&hl=america
There are previous postings for other apps which were requested, just do a search for them.