Periksa apakah string url python
# pip install validators
>>> import validators
>>> validators.url("https://google.com")
True
>>> validators.url("https://google"):
False
Temerold