Please enable JavaScript
RegEx(Regular Expression) can be used to get URL without path in Python. Blog Post: https://www.infallibletechie.com/2023/05/how-to-get-url-without-path-in-python.html