第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

提示object has no attribute 'new_urls',看了好多遍,和老師寫的一樣啊,也沒空格大小寫問題

Traceback (most recent call last):

? File "C:\eclipse\workspace\baiduspider\spider_main.py", line 50, in <module>

? ? obj_spider.craw(root_url)

? File "C:\eclipse\workspace\baiduspider\spider_main.py", line 19, in craw

? ? self.urls.add_new_url(root_url)

? File "C:\eclipse\workspace\baiduspider\url_manager.py", line 11, in add_new_url

? ? if url not in self.new_urls and url not in self.old_urls:

AttributeError: 'UrlManager' object has no attribute 'new_urls'


正在回答

1 回答

看看UrlManager類構造器里有沒有定義new_urls

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Python開發(fā)簡單爬蟲
  • 參與學習       227603    人
  • 解答問題       1288    個

本教程帶您解開python爬蟲這門神奇技術的面紗

進入課程

提示object has no attribute 'new_urls',看了好多遍,和老師寫的一樣啊,也沒空格大小寫問題

我要回答 關注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號