def get_asset_location(element, attr):
asset_location = re.match(r'<STR_LIT>', element[attr],<EOL>re.IGNORECASE)<EOL>asset_location = asset_location.group(<NUM_LIT:2>).replace('<STR_LIT>', '<STR_LIT>')<EOL>return asset_location<EOL>
Get Asset Location.

Remove leading slash e.g '/static/images.jpg' ==> static/images.jpg
Also, if the url is also prefixed with static, it would be removed.
    e.g static/image.jpg ==> image.jpg