def load_bookmarks() -> list[Bookmark]:
    """Load the bookmarks.

    Returns:
        The bookmarks.
    """
    return (
        [
            Bookmark(
                title, URL(location) if is_likely_url(location) else Path(location)
            )
            for (title, location) in loads(bookmarks.read_text())
        ]
        if (bookmarks := bookmarks_file()).exists()
        else []
    )
Load the bookmarks.

    Returns:
        The bookmarks.
    
frogmouth/data/bookmarks.py