/unused-image-relocator

This python script will crawl your HTML files and archive image files from the "images" folder that are not used.

Primary LanguagePython

unused-image-relocator

This python script will crawl your HTML files and archive image files from the "images" folder that are not used.

Regex to use to get filename from a URL

[\w-]+\.(jpg|jpeg|png|gif)

Using BeautifulSoup for python. Needed pip for this for now. Let's see if that can be bundled up.