{"_id":"octopus","_rev":"26-952d761cee63529d74aa52f1b74a7cb4","name":"octopus","description":"A fast & easy web scraping framework","dist-tags":{"latest":"0.1.1-2"},"versions":{"0.0.1":{"name":"octopus","description":"sophisticated ikarus client","version":"0.0.1","repository":{},"author":{"name":"daredude","email":"falko.dude@gmail.com","url":"falkojanak.com"},"main":"./octopus","directories":{"lib":"./lib"},"engines":{"node":"*"},"dependencies":{"coffee-script":"1.0.1"},"_id":"octopus@0.0.1","_engineSupported":true,"_npmVersion":"0.2.16","_nodeVersion":"v0.4.0","modules":{"runoctopus.coffee":"lib/runoctopus.coffee"},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"b9f4ef11e08e393ba5ebe842cfed6b2f0ee041e5","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.0.1.tgz","integrity":"sha512-q4mxFvozO5fq5fQj0LRWWiSN8A54zv699vmi8cNptgn1EM+BP4vqknB/3Nh4DIEDpeqxYeL/L50siQnDeRrbcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAIw+u9R7FoFuJwMCdE0s11j2NYLybFFnYAP9yDEnKcwIhAMvsUY2tLH9LNnhnwlcBvpGtfxPiOmq6qhMlZby1IQ6B"}]}},"0.1.0":{"version":"0.1.0","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"elephant":">=0.1.0","request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0"},"devDependencies":{},"scripts":{},"_id":"octopus@0.1.0","dist":{"shasum":"55ed92b9095f241385417f012bd9c9a5e9d5b05c","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.9","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"daredude","email":"falko.dude@gmail.com"},{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.0-1":{"version":"0.1.0-1","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"elephant":">=0.1.0","request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0"},"devDependencies":{},"scripts":{},"_id":"octopus@0.1.0-1","dist":{"shasum":"fd4e4fcb1667f075454e4a0818b1954248d45f3b","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.0-1.tgz"},"_from":".","_npmVersion":"1.2.9","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"daredude","email":"falko.dude@gmail.com"},{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.0-2":{"version":"0.1.0-2","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"elephant":">=0.1.0","request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0","underscore":">=1.5.2"},"devDependencies":{},"scripts":{},"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"_id":"octopus@0.1.0-2","dist":{"shasum":"dd93ebe87094fd4a731332140533bdc2073894b8","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.0-2.tgz","integrity":"sha512-Kx98f5FpyXSARCLgdJX0oAl3ANMVPomqM2wnXjd90zFLmlD/qUThQFDL4++Vrlx2kc3S0pzQKgN3WElaUbZKOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4VfoGrd86P6oxlWaymtqfxjXoDFVMNa3T+uQLd8UplAIgVpidbzNTLP3ajBW4/c0m6vLoZmGLQLvCedElmJnHLJI="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.0-3":{"version":"0.1.0-3","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0","underscore":">=1.5.2","iconv-lite":">=0.2.11","elephant":">=0.1.0"},"optionalDependencies":{"elephant":">=0.1.0"},"devDependencies":{},"scripts":{},"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"_id":"octopus@0.1.0-3","dist":{"shasum":"c72c2e51d0b9972c35207054fb7ac4810431800a","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.0-3.tgz","integrity":"sha512-/6zozzEsEUC5YyR5TeaKfJUC4HX4w1Ee83b7Jt3dOehAnE8fx1js/XFbxC86n4Af0srFYWTChkkFnbyteoetVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8i+gbQlTYKbgsjycLd2wC9h4klRuzkT28dihO2MGQ3AiEA24qyCOLsKSgMQYnbEYJ7UjeIIEj2qqlE7xr96sGLaHg="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.0-4":{"version":"0.1.0-4","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0","underscore":">=1.5.2","iconv-lite":">=0.2.11","elephant":">=0.1.0"},"optionalDependencies":{"elephant":">=0.1.0"},"devDependencies":{},"scripts":{},"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"_id":"octopus@0.1.0-4","dist":{"shasum":"9f5b24995986104476d6009b19e7614da412a963","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.0-4.tgz","integrity":"sha512-t1l3ezzGZcDWGATEaQGPRkDkHO7QEZvBDJmTh/hNs9X4Sh0NldP2GkoBVI0Cpe7x1WUjxVyUaSO1S/+KVV0m9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/aXizsq5MTEhDynra9HrvnMG7zUYH5g5l0/4CHKmApAiAJOtFcJkvkWOo6m1HxuuQo5Yl5d3A6QWx67UoJnTOIhw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.1":{"version":"0.1.1","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0","underscore":">=1.5.2","iconv-lite":">=0.2.11","elephant":">=0.1.0"},"optionalDependencies":{"elephant":">=0.1.0"},"devDependencies":{},"scripts":{},"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"_id":"octopus@0.1.1","dist":{"shasum":"9880bed1da9413249a2bcf244bdf292f3a60c7b4","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.1.tgz","integrity":"sha512-DsSh+cwKjdHevSDmppwBDqZV1DhZNgLH693i88DBkzqiFA8IWpiAoGaQS3S9oxRw9vymDCFVG6lDqk0vHmklIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj/vDL8u+2jzfJfj6ksRpxoLcrsJohNzd6LkxWnKuMRAiAy1llGt3dCfVubVv9Kyppu5yWveELLzj9TtSICcYQ4cw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.1-1":{"version":"0.1.1-1","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0","underscore":">=1.5.2","iconv-lite":">=0.2.11","elephant":">=0.1.0","html-entities":""},"optionalDependencies":{"elephant":">=0.1.0","html-entities":""},"devDependencies":{},"scripts":{},"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"_id":"octopus@0.1.1-1","dist":{"shasum":"d63361392461259c46c49271f9d71eab659af830","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.1-1.tgz","integrity":"sha512-tUreZfJJk8T97cy2LwomTpNXBkdj8wSRShzcvvX9XbOo4x84IpF1iGadxa+NlRK8FZepr2WICKIXWyDP3q++lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5XL4yu/kqonYDCeLSvlZ1fN85zavKr/TT72IHbngyPAIgP7vpHO+hmWxV/FO1W8wIE3qka1Slr5bIvOjrTSWPKFo="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"aularon","email":"arous.hasan@gmail.com"}]},"0.1.1-2":{"version":"0.1.1-2","name":"octopus","description":"A fast & easy web scraping framework","main":"index.js","repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"files":["lib/","examples/","index.js","README.md"],"keywords":["scraping","web","spider","webbot"],"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"licenses":[{"type":"MPL","url":"http://www.mozilla.org/MPL/2.0/"}],"directories":{"test":"test"},"dependencies":{"request":">=2.12.0","cheerio-soupselect":">=0.1.1","htmlparser2":">=2.5.0","underscore":">=1.5.2","iconv-lite":">=0.2.11","elephant":">=0.1.0","html-entities":""},"optionalDependencies":{"elephant":">=0.1.0","html-entities":""},"devDependencies":{},"scripts":{},"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"_id":"octopus@0.1.1-2","dist":{"shasum":"8e1e61a9acd9c4f4c759a686d4956b8e10b59ec5","tarball":"https://registry.npmjs.org/octopus/-/octopus-0.1.1-2.tgz","integrity":"sha512-wjmxNf7AkYEsgJhvR1RUQZGC28xxBlwe5pn7A0khMdCfhalv9kLHkeVcvXqwIWEqcr7dOnID+6DpxnGpkQ1XNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3HbyfbGGwGUTpUBiAOtB9B/iPl46Gamh0s1En6RFITAiEAn8wzm361Z8hWnXGXZ6x8SelccD/eWVcYtNzXaGUvDak="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"aularon","email":"arous.hasan@gmail.com"},"maintainers":[{"name":"aularon","email":"arous.hasan@gmail.com"}]}},"maintainers":[{"name":"amilajack","email":"amilajack@gmail.com"},{"name":"aularon","email":"arous.hasan@gmail.com"}],"time":{"modified":"2022-07-13T14:46:05.882Z","created":"2011-02-16T13:40:42.984Z","0.0.1":"2011-02-16T13:40:43.443Z","0.1.0":"2013-02-10T19:45:10.777Z","0.1.0-1":"2013-02-10T19:59:45.461Z","0.1.0-2":"2013-09-21T18:00:05.931Z","0.1.0-3":"2013-09-28T12:08:38.680Z","0.1.0-4":"2013-09-28T12:23:37.128Z","0.1.1":"2013-09-28T12:38:29.342Z","0.1.1-1":"2013-10-04T15:47:34.905Z","0.1.1-2":"2013-10-04T17:19:07.296Z"},"author":{"name":"Hasan Arous","email":"arous.hasan@gmail.com"},"repository":{"type":"git","url":"git://github.com/aularon/node-octopus.git"},"readme":"[node-octopus](https://github.com/aularon/node-octopus)\n============\n\n![Elephant Logo](https://raw.github.com/aularon/node-octopus/master/doc/logoc.png)\n\n\nAn octopus that can get his hands all over the web.\n\n## From Syria with Love : )\nThis package is a product of Syria, 2013.\n\n## Installation\n\n```bash\nnpm install octopus\n```\n\n## Usage & Examples\n\n```javascript\nvar octopus = require('octopus'),\n    $ = octopus.$,\n    htmlparser = require('htmlparser2');\nvar getText = function getText(elem){//from `domutils' package\n    if(htmlparser.DomUtils.isTag(elem)) return elem.children.map(getText).join(\"\");\n    if(elem.type === htmlparser.ElementType.Text) return elem.data;\n    return \"\";\n};\n\nvar wikiOctopus = new octopus.Octopus();\n\nwikiOctopus.addURL('https://en.wikipedia.org/wiki/Main_Page');\nwikiOctopus.handle(/^/, function(href, dom) {\n    $(dom, '#mp-itn li').forEach(function(elem) {\n        console.log('➭', getText(elem), $(elem, 'a')[0].attribs.href)\n    })\n})\n\nwikiOctopus.start();\n```\n\n\n## Roadmap\n* Documenting current features and usage.\n\n## Copyright & License\n© 2013 Hasan Arous. All rights reserved.\n\n[Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/2.0/)\n","keywords":["scraping","web","spider","webbot"],"bugs":{"url":"https://github.com/aularon/node-octopus/issues"},"readmeFilename":"README.md","users":{}}