{"action":"created","issue":{"url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli/issues/13","repository_url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli","labels_url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli/issues/13/comments","events_url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli/issues/13/events","html_url":"https://github.com/lgraubner/sitemap-generator-cli/issues/13","id":196278287,"number":13,"title":" throw new TypeError('Parameter \"url\" must be a string, not ' + typeof url);","user":{"login":"harryyuanfeng","id":4098187,"avatar_url":"https://avatars.githubusercontent.com/u/4098187?v=3","gravatar_id":"","url":"https://api.github.com/users/harryyuanfeng","html_url":"https://github.com/harryyuanfeng","followers_url":"https://api.github.com/users/harryyuanfeng/followers","following_url":"https://api.github.com/users/harryyuanfeng/following{/other_user}","gists_url":"https://api.github.com/users/harryyuanfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/harryyuanfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harryyuanfeng/subscriptions","organizations_url":"https://api.github.com/users/harryyuanfeng/orgs","repos_url":"https://api.github.com/users/harryyuanfeng/repos","events_url":"https://api.github.com/users/harryyuanfeng/events{/privacy}","received_events_url":"https://api.github.com/users/harryyuanfeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-18T14:22:23Z","updated_at":"2016-12-21T10:07:03Z","closed_at":null,"body":"hi\r\nwhen I tried:\r\n\r\nsitemap-generator -d http://163.com\r\n\r\nit gives me error:\r\n\r\n```\r\nurl.js:87\r\n    throw new TypeError('Parameter \"url\" must be a string, not ' + typeof url);\r\n    ^\r\n\r\nTypeError: Parameter \"url\" must be a string, not undefined\r\n    at Url.parse (url.js:87:11)\r\n    at urlParse (url.js:81:5)\r\n    at Object.urlResolve [as resolve] (url.js:631:10)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/sitemap-generator-cli/node_modules/sitemap-generator/lib/SitemapGenerator.js:200:20)\r\n    at /usr/local/lib/node_modules/sitemap-generator-cli/node_modules/cheerio/lib/api/traversing.js:306:18\r\n    at /usr/local/lib/node_modules/sitemap-generator-cli/node_modules/lodash.reduce/index.js:202:9\r\n    at /usr/local/lib/node_modules/sitemap-generator-cli/node_modules/lodash.reduce/index.js:1260:11\r\n    at baseReduce (/usr/local/lib/node_modules/sitemap-generator-cli/node_modules/lodash.reduce/index.js:199:3)\r\n    at Object.reduce (/usr/local/lib/node_modules/sitemap-generator-cli/node_modules/lodash.reduce/index.js:1842:10)\r\n    at initialize.exports.map (/usr/local/lib/node_modules/sitemap-generator-cli/node_modules/cheerio/lib/api/traversing.js:305:23)\r\n```"},"comment":{"url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli/issues/comments/268484288","html_url":"https://github.com/lgraubner/sitemap-generator-cli/issues/13#issuecomment-268484288","issue_url":"https://api.github.com/repos/lgraubner/sitemap-generator-cli/issues/13","id":268484288,"user":{"login":"lgraubner","id":2519959,"avatar_url":"https://avatars.githubusercontent.com/u/2519959?v=3","gravatar_id":"","url":"https://api.github.com/users/lgraubner","html_url":"https://github.com/lgraubner","followers_url":"https://api.github.com/users/lgraubner/followers","following_url":"https://api.github.com/users/lgraubner/following{/other_user}","gists_url":"https://api.github.com/users/lgraubner/gists{/gist_id}","starred_url":"https://api.github.com/users/lgraubner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgraubner/subscriptions","organizations_url":"https://api.github.com/users/lgraubner/orgs","repos_url":"https://api.github.com/users/lgraubner/repos","events_url":"https://api.github.com/users/lgraubner/events{/privacy}","received_events_url":"https://api.github.com/users/lgraubner/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T10:07:03Z","updated_at":"2016-12-21T10:07:03Z","body":"I assume the URL-parsing module fails with the number only domain. Will have to investigate further."}}
{"actor":{"display_login":"lgraubner"}}