Created
August 11, 2013 07:20
-
-
Save sang4lv/6203849 to your computer and use it in GitHub Desktop.
Error on Scraper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@angelawang:/var/www/node/scraper# node main.js | |
| /var/www/node/scraper/main.js:16 | |
| if(err) throw err; | |
| ^ | |
| Error: Invalid URI "undefined" | |
| at Request.init (/var/www/node/scraper/node_modules/request/index.js:205:24) | |
| at new Request (/var/www/node/scraper/node_modules/request/index.js:124:8) | |
| at Function.request [as get] (/var/www/node/scraper/node_modules/request/index.js:1275:11) | |
| at Server.<anonymous> (/var/www/node/scraper/main.js:12:10) | |
| at Server.EventEmitter.emit (events.js:98:17) | |
| at HTTPParser.parser.onIncoming (http.js:2056:12) | |
| at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:120:23) | |
| at Socket.socket.ondata (http.js:1946:22) | |
| at TCP.onread (net.js:525:27) | |
| //Link to script: https://github.com/angelazou/scraper/blob/master/main.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment