def splitgophertype(selector):
    if selector[:1] == '/' and selector[1:2]:
        return selector[1], selector[2:]
    return None, selector
splitgophertype('/Xselector') --> 'X', 'selector'.
dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/urllib.py/splitgophertype