Edit: apparently wget has a magical flag that allows you to download all resources on an HTML page as well. Consider this solution inferior to Ellipsis753's and jamiis's. However, I will leave my reply up since this method is applicable to a lot of other situations as well.