pip install parselinks
from parselinks import get_links
get_links(pass_url)
eg.
get_links("https://pypi.org/project/parselinks/")
from parselinks import get_links
get_links(pass_url, as_list=True)
eg.
get_links("https://pypi.org/project/parselinks/", as_list=True)
```d