“Davie504” is an Italian bass player with a great selection of YouTube videos.
In this video he plays 100 famous bass riffs in 13 minutes:
There’s also a sequel “100 Amazing Bass Lines 2” that will show up as a related video.
It includes riffs from a nice variety of bands, though it does have a heavier selection of Red Hot Chili Peppers and Jamiroquai.
If you want to learn a particular riff, you can click the gear on the player and change the video player to half speed. That’s a great feature of YouTube that not everyone knows about.