How to capture background music in a website

I want to able to capture a background music in a particular website, how can achieve this? what software can achieve this with ease? How do i obtain such a software and what would be the delivery format from the software? Does the software provide for pauses between the recording?
