关于node爬虫路径无效

爬取天气没问题,爬取自己学校就出错了,这是怎么回事呢?
萌新求解答

E:\frontend\node>node index.js
start
start
events.js:180
      throw er; // Unhandled 'error' event
      ^

Error: Invalid URI "/Content/Logo/logo_20170512104757535.PNG"
    at Request.init (E:\frontend\node\node_modules\request\request.js:273:31)
    at new Request (E:\frontend\node\node_modules\request\request.js:127:8)
    at request (E:\frontend\node\node_modules\request\index.js:53:10)
    at downLoad (E:\frontend\node\index.js:20:7)
    at Node.<anonymous> (E:\frontend\node\analyze.js:6:9)
    at initialize.exports.each (E:\frontend\node\node_modules\cheerio\lib\api\traversing.js:300:24)
    at Object.findImg (E:\frontend\node\analyze.js:4:14)
    at Request._callback (E:\frontend\node\index.js:12:21)
    at Request.self.callback (E:\frontend\node\node_modules\request\request.js:185:22)
    at Request.emit (events.js:203:13)
Emitted 'error' event at:
    at Request.init (E:\frontend\node\node_modules\request\request.js:273:17)
    at new Request (E:\frontend\node\node_modules\request\request.js:127:8)
    [... lines matching original stack trace ...]
    at Request.emit (events.js:203:13)
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐