If you need to record music that is playing in the background of a video or on a website you can use iSound 7.
It can be downloaded from here http://www.abyssmedia.com/isound7/
Note, the free version only allows for 100 seconds to be "ripped".
A great place to get background music for videos is Juke Deck (password stored in LastPass).