get_nodes.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:stalkerGKSU 作者: zense 项目源码 文件源码
def update_org_list(main_list,organisation):
    s = requests.Session()
    for i in main_list:
         r = s.get('https://github.com/'+i[0])
         soup = BeautifulSoup(r.text)
         data = soup.find_all("li",{"aria-label":"Organization"})
         try:
             if data[0].text not in organisation:
                 organisation.append(data[0].text)
         except:
             continue
    return organisation
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号