def get_geotag(post_content):
    """Gets latitude and longitude from post's HTML content."""
    post_map = post_content.find("div", {"id": "map"})
    geotag = {"lat": "", "lon": ""}
    if post_map is not None:
        geotag["lat"] = post_map.attrs["data-latitude"]
        geotag["lon"] = post_map.attrs["data-longitude"]
    return geotag