mitthu/websnip
A tool for archiving websites. The code follows all <link>, <script> and <img> tags to download all resources. The linked resources in CSS files in the form of @import and background images is also archived. The downloaded files are hashed and stored so as to avoid name collision and detect corruption in file data. Also support for UTF-8 is maintained throughout.