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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

有一些模塊好像和老師的不一樣,是不是我用錯(cuò)了 求大神賜教

有一些模塊好像和老師的不一樣,是不是我用錯(cuò)了 求大神賜教

supbad 2019-01-17 11:19:59
Traceback (most recent call last):? File "G:/PyCharm/workspace/baike_spider/spider_main.py", line 45, in <module>? ? obj_spider.craw(root_url)? File "G:/PyCharm/workspace/baike_spider/spider_main.py", line 27, in craw? ? html_cont = self.downloader.download(new_url)? File "G:\PyCharm\workspace\baike_spider\html_downloader.py", line 14, in download? ? response = urllib.request.urlopen(url)? File "G:\Python36\lib\urllib\request.py", line 223, in urlopencraw 1 : <bound method UrlManager.get_new_url of <url_manager.UrlManager object at 0x000001BDA7F82A58>>? ? return opener.open(url, data, timeout)? File "G:\Python36\lib\urllib\request.py", line 517, in open? ? req.timeout = timeoutAttributeError: 'method' object has no attribute 'timeout'Process finished with exit code 1上面是錯(cuò)誤信息 下面是它說出錯(cuò)的地方。最后兩個(gè)定位在 request模塊里? 讓我有點(diǎn)懵逼
查看完整描述

2 回答

  • 2 回答
  • 0 關(guān)注
  • 1271 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)