python爬取中國最好大學排名(實例)

要求 爬取2018年最好大學網上排名前20的學校,以表格形式輸出,包括(排名,學校名稱,總分)html 代碼 根據基本要求能夠編寫出初始代碼Apython #CrawUnivRankingA.py import requests from bs4 import BeautifulSoup import bs4 def getHTMLText(url): try: r=req
相關文章
相關標籤/搜索