

def _extract_aliases(self, page, id=None):
    dict_of_keylists = {
        'url': ['svn_url'],
        'title': ['name'],
    }
    aliases_dict = provider._extract_from_json(page, dict_of_keylists)
    if aliases_dict:
        aliases_list = [(namespace, nid) for (namespace, nid) in aliases_dict.iteritems()]
    else:
        aliases_list = []
    return aliases_list

dataset/ETHPy150Open Impactstory/total-impact-core/totalimpact/providers/github.py Github._extract_aliases/original