def _get_protocol(path):
    if ('://' in str(path)):
        protocol = urllib.parse.urlparse(str(path)).scheme
    else:
        protocol = ''
    return protocol
def _get_protocol(path):
    if ('://' in str(path)):
        protocol = urllib.parse.urlparse(str(path)).scheme
    else:
        protocol = 
    return protocol