from urllib.parse import urlparse
url = '{{ .VARIABLE }}'
u = urlparse(url)
try:
    print('Scheme: ' + u.scheme)
    print('netloc: ' + u.netloc)
    print('path: ' + u.path)
    print('params: ' + u.params)
    print('query: ' + u.query)
    print('fragment: ' + u.fragment)
    print('username: ' + str(u.username))
    print('password: ' + str(u.password))
    print('hostname: ' + str(u.hostname))
    print('port: ' + str(u.port))
except:
    import traceback
    print(traceback.print_exc())

d0a1740347bd112b75e09cf7853c4394d2c53536
<mask token>

<mask token>
try:
    print('Scheme: ' + u.scheme)
    print('netloc: ' + u.netloc)
    print('path: ' + u.path)
    print('params: ' + u.params)
    print('query: ' + u.query)
    print('fragment: ' + u.fragment)
    print('username: ' + str(u.username))
    print('password: ' + str(u.password))
    print('hostname: ' + str(u.hostname))
    print('port: ' + str(u.port))
except:
    import traceback
    print(traceback.print_exc())

<mask token>
url = '{{ .VARIABLE }}'
u = urlparse(url)
try:
    print('Scheme: ' + u.scheme)
    print('netloc: ' + u.netloc)
    print('path: ' + u.path)
    print('params: ' + u.params)
    print('query: ' + u.query)
    print('fragment: ' + u.fragment)
    print('username: ' + str(u.username))
    print('password: ' + str(u.password))
    print('hostname: ' + str(u.hostname))
    print('port: ' + str(u.port))
except:
    import traceback
    print(traceback.print_exc())

from urllib.parse import urlparse
url = '{{ .VARIABLE }}'
u = urlparse(url)
try:
    print('Scheme: ' + u.scheme)
    print('netloc: ' + u.netloc)
    print('path: ' + u.path)
    print('params: ' + u.params)
    print('query: ' + u.query)
    print('fragment: ' + u.fragment)
    print('username: ' + str(u.username))
    print('password: ' + str(u.password))
    print('hostname: ' + str(u.hostname))
    print('port: ' + str(u.port))
except:
    import traceback
    print(traceback.print_exc())
