@staticmethod
def _filehash(url):
    """Extract MD5 hash from a download URL"""
    parts = url.partition('?')[0].split('/')
    parts.reverse()
    for part in parts:
        if len(part) == 32:
            return part
    return ''
