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