{"action":"closed","issue":{"url":"https://api.github.com/repos/Ayms/node-dom/issues/4","repository_url":"https://api.github.com/repos/Ayms/node-dom","labels_url":"https://api.github.com/repos/Ayms/node-dom/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Ayms/node-dom/issues/4/comments","events_url":"https://api.github.com/repos/Ayms/node-dom/issues/4/events","html_url":"https://github.com/Ayms/node-dom/issues/4","id":220181684,"number":4,"title":"htmlparser error in simple.js","user":{"login":"masanzsa","id":19916102,"avatar_url":"https://avatars3.githubusercontent.com/u/19916102?v=3","gravatar_id":"","url":"https://api.github.com/users/masanzsa","html_url":"https://github.com/masanzsa","followers_url":"https://api.github.com/users/masanzsa/followers","following_url":"https://api.github.com/users/masanzsa/following{/other_user}","gists_url":"https://api.github.com/users/masanzsa/gists{/gist_id}","starred_url":"https://api.github.com/users/masanzsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masanzsa/subscriptions","organizations_url":"https://api.github.com/users/masanzsa/orgs","repos_url":"https://api.github.com/users/masanzsa/repos","events_url":"https://api.github.com/users/masanzsa/events{/privacy}","received_events_url":"https://api.github.com/users/masanzsa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-07T11:00:55Z","updated_at":"2017-04-07T14:00:23Z","closed_at":"2017-04-07T14:00:23Z","body":"Tried to execute a simple sample, after following the advice on the issue posted by staminna and I am stuck here:\r\n\r\n```\r\n$ node simple.js --url=http://www.extractwidget.com/nodejs/test/testcastorama.html       \r\nhtmlparser\r\n/home/globallink/simple.js:12\r\n    var url = URL.parse(args.url);\r\n                        ^\r\n\r\nReferenceError: args is not defined\r\n    at Object.<anonymous> (/home/globallink/simple.js:12:25)\r\n    at Module._compile (module.js:570:32)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.runMain (module.js:604:10)\r\n    at run (bootstrap_node.js:393:7)\r\n    at startup (bootstrap_node.js:150:9)\r\n    at bootstrap_node.js:508:3\r\n```\r\n\r\nso far my html parser is module is installed correctly among other needed dependencies.\r\n\r\n**Local Modules**\r\n```\r\n/home/localuser\r\n├── args@2.4.1\r\n├── bootstrap@3.3.7\r\n├── cookies@0.7.0\r\n├── fs@0.0.1-security\r\n├── htmlparser@1.7.7\r\n├── imagemagick@0.1.3\r\n├── node-dom@0.1.0\r\n├── request@2.81.0\r\n├── tav@0.1.0\r\n└── url@0.11.0\r\n```\r\n\r\n**Global Modules**\r\n```\r\n/usr/lib\r\n├── args@2.4.1\r\n├── bootstrap@3.3.7\r\n├── cookies@0.7.0\r\n├── fs@0.0.1-security\r\n├── htmlparser@1.7.7\r\n├── imagemagick@0.1.3\r\n├── node-dom@0.1.0\r\n├── nodebot@0.1.71\r\n├── npm@3.10.10\r\n├── npm-install-all@1.1.21\r\n├── request@2.81.0\r\n├── tav@0.1.0\r\n└── url@0.11.0\r\n```\r\n\r\nCould you please help me with this one?\r\n\r\nThanks!\r\n\r\nMariano\r\n"}}
{"actor":{"display_login":"masanzsa"}}