

def _extract_biblio(self, page, id=None):
    dict_of_keylists = {
        'title': ['name'],
        'description': ['description'],
        'owner': ['owner', 'login'],
        'url': ['svn_url'],
        'last_push_date': ['pushed_at'],
        'create_date': ['created_at'],
    }
    biblio_dict = provider._extract_from_json(page, dict_of_keylists)
    try:
        biblio_dict['year'] = biblio_dict['create_date'][0:4]
    except KeyError:
        pass
    biblio_dict['repository'] = 'GitHub'
    return biblio_dict

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