ford icon indicating copy to clipboard operation
ford copied to clipboard

Path.resolve can not resolve urls

Open econwang opened this issue 1 year ago • 0 comments
trafficstars

The relative_url function in output.py:

    link_str = str(entity)
    link = BeautifulSoup(link_str, features="html.parser").a
    if link is not None:
        link_path = str(pathlib.Path(str(link["href"])).resolve())
    else:
        link_path = link_str

will raise error for urls, such as INTRINSIC_MODS in settings.py.

econwang avatar Apr 19 '24 05:04 econwang