最新回答 / longmoxxx
應(yīng)該是連接取的不對吧。百科的網(wǎng)頁有更新。試試這個
links?=?soup.find_all('a',href=re.compile(r"/item/"))
2018-09-25
最新回答 / 慕仰4611779
Pyhton3可以實(shí)現(xiàn),我已經(jīng)試過可以跑起來。代碼見鏈接https://github.com/wangjun1996/baike_spider.git
2018-09-17