{"_id":"cli-scrape","_rev":"29-e50366e69d2967b60a9285b2ad184b16","name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","dist-tags":{"latest":"0.1.10"},"versions":{"0.1.0":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.0","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt jasmine_node"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":[],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19"},"_id":"cli-scrape@0.1.0","dist":{"shasum":"0641be5e6e564970b405313f600d8869a5c26110","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.0.tgz","integrity":"sha512-QVlqsH/p/5KT7iS2QL7C7EnHKgDOD2yLdNGdWOLwppZonkK6HjzNpkx5Ye5O3/hvsktQuXH6Y6XMRl9Qmtgbuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5FRxNYxy5SjnZNx2DLxYFzWPJHvvyluFr15t4jidmOAiBj6lFoZYWVIQV6Kg0eb04q4wsQcnMOByv/cY9ciRy8NA=="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}],"directories":{}},"0.1.1":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.1","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt jasmine_node"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19"},"preferGlobal":true,"_id":"cli-scrape@0.1.1","dist":{"shasum":"14464782d180c4905c08487dc084c021e068cdcc","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.1.tgz","integrity":"sha512-6xPG/gmShyZQedaFk3njXZSwcC57V6hVk+4spnhSyKcu+e9BY1FNy5qtL3TE0ncBvDu+bd3kXOlq5qVkVV8VNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuRx9EB9a0K1GxZZ3aeThKjbt1YGAf3j1aIBPKWWV6tgIgXeAyCruPu0ijOowe8lpMdxT8BaqAOBMNm/AYw5bOBSM="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}],"directories":{}},"0.1.2":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.2","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19","npmlog":"0.0.2"},"preferGlobal":true,"_id":"cli-scrape@0.1.2","dist":{"shasum":"0b5ab0a15400efd996fb1aed432858fb2d04c2d9","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.2.tgz","integrity":"sha512-skBfdszurWq+3xtAXDETjRfIYmpnZ5naxwhuBDu9tjSjLDi9550a6nP6gssndhh3HmUEaw8QhvG/1KoA/cbN1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWwFpmzQTni9E0T5ri8z1aNRdy5hbSifeSA5Gx3EqnXAiBgKGf/VmaOh44ds0X9DWpgDgd+l24mR2AXjwGzM6RAiw=="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}],"directories":{}},"0.1.4":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.4","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19","npmlog":"0.0.2"},"preferGlobal":true,"_id":"cli-scrape@0.1.4","dist":{"shasum":"06db5cd3d63964c279db0ea44b3b7196ae53cb61","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.4.tgz","integrity":"sha512-nkh5BNW4MBLY4D9USMBsCnd+62xDgNU5BbFrVXqTrzAX+rKftN9Ui/Ka61DpvECJzJ5AoV0U2gwA7QqA4xHYpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbWwrtPtfYYuOPhD5hrQGcFD7hTrlpYEwhuXWtGkEsmAIhAKLQxxe8HcVXYTodmgHUv/VFl9NGdcU6LYznTQkUNjUR"}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}],"directories":{}},"0.1.5":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.5","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"bin":{"scrape":"./bin/scrape"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19","npmlog":"0.0.2"},"preferGlobal":true,"_id":"cli-scrape@0.1.5","dist":{"shasum":"774267fdf169b5012c0789a1d1f61ba9730ff126","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.5.tgz","integrity":"sha512-c9p1CoAraBkRmLvJD3Zm4xi55XudHaY90/yBDBxOyUPH6UYnhbo6/CNlVAbWwUxMJAsjvpBhaPiM95YWPHVwbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeTO/Efzv1nhQ9RUTTIxVwHNxKMUq6Qfh2y0vM5hnyrAIhAL3yZ92CYYhWQxNSGHq9cB+k5tH6iqQ0Z0D9XGTrWUAK"}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}],"directories":{}},"0.1.6":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.6","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"bin":{"scrape":"./lib/scrape.js"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19","npmlog":"0.0.2"},"preferGlobal":true,"_id":"cli-scrape@0.1.6","dist":{"shasum":"394cf9a4bc0804e64e45e60c925b460437e62418","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.6.tgz","integrity":"sha512-beBvX7bqckE04qMIvm1+xUUEdoz+4/T4PcD0n/Jir71CYknSgeZoYPt6hZcXlzhEV4hmgcwonbJRki8m9OsGRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkUnaVJ5Dj8fvpX2jRl4XlXn8p4tShq7xYd5Zijo/HNgIgEcD3YnbLwtM/TSNzE8P/gMptPibz/023Q16K9IoFp6w="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}]},"0.1.7":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.7","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"bin":{"scrape":"./lib/scrape.js"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19","npmlog":"0.0.2"},"preferGlobal":true,"_id":"cli-scrape@0.1.7","dist":{"shasum":"b3365fe71404dda5d55f1d5c5d02ad0b665ad8db","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.7.tgz","integrity":"sha512-1rP4eWkJsGHQchfo3h6KKi2cpSJeY0yRWZ5Cr+Ewzz3/2Qtfkm9EgaPpV7V1Yck1RySctMOPgPXnUx9e5rxbGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHM78ErA09sXWyNaHaL5/lJghnsj6Uvuay7JX/RV5iulAiEAofpGw74uFeG4r1ZujUgPlnTfcOUeR4vTwe7pZZgIH3w="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}]},"0.1.8":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.8","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"bin":{"scrape":"./lib/scrape.js"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0","grunt-bump":"0.0.1"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"optimist":"~0.3.5","request":"~2.12.0","jsdom":"~0.2.19","npmlog":"0.0.2"},"preferGlobal":true,"_id":"cli-scrape@0.1.8","dist":{"shasum":"77db4838485e4e1040507e03c6305efcd8d51ee6","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.8.tgz","integrity":"sha512-Z2ce98NhN2yWUy4B8zP9cooE3ZRr+xRDswr+l5La1i2ApISvZo02IdLpSsk4W9FXpmztninGxKwxVC8Us3c9ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGABGkVLCQlVVVGqmnqKSB1nvRweqw4P3g4uJY3p3UmNAiEAyIJNrtpdIu3XwWQVJ7Bn+rdh/Lzu0gqgd479pyU5zi0="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}]},"0.1.10":{"name":"cli-scrape","description":"screen scrape from command line with xpath or css selectors","version":"0.1.10","homepage":"https://github.com/pthrasher/scrape","author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"bin":{"scrape":"./lib/scrape.js"},"licenses":[{"type":"MIT","url":"https://github.com/pthrasher/cli-scrape/blob/master/LICENSE-MIT"}],"main":"lib/scrape","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.17","jasmine-node":"~1.0.26","grunt-jasmine-node":"0.0.3","grunt-contrib-coffee":"~0.3.2","coffee-script":"~1.4.0","grunt-bump":"0.0.1"},"keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"dependencies":{"jsdom":"^6.5.1","npmlog":"0.0.2","optimist":"~0.3.5","request":"~2.12.0"},"preferGlobal":true,"gitHead":"42d61a48742a631d9e354db04eabc2ee0c9f5e16","_id":"cli-scrape@0.1.10","_shasum":"20f5831d28a515b6db0377cc6e65d137f29929bf","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.0","_npmUser":{"name":"pthrasher","email":"philipthrasher@gmail.com"},"dist":{"shasum":"20f5831d28a515b6db0377cc6e65d137f29929bf","tarball":"https://registry.npmjs.org/cli-scrape/-/cli-scrape-0.1.10.tgz","integrity":"sha512-jPVDjGqKgIkiegIbiEfTZZwhQ8/3tzC9rEJMNqxcvTtd7XmkFDwONkUSq8b1xhtbEN+gYe1fmEDIuzHK/mpwvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwEqvf2Sh4o1Mf+SFCdlfbN1G1eUvJCa1w3mYWwkoybAiBdufI1aC22y1z3apGGJuY+fTFYMoe50qVp7p3FOpNt/A=="}]},"maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}]}},"readme":"# cli-scrape\n[![Build Status](https://travis-ci.org/pthrasher/cli-scrape.png)](https://travis-ci.org/pthrasher/cli-scrape)\n\nscreen scrape from command line with xpath or css selectors\n\n## Getting Started\nInstall the module with: `npm install -g cli-scrape`\n\nThen try out the following:\n```\n$ scrape http://whatthecommit.com/ '//p[0]/text()'\n$ scrape http://whatthecommit.com/ 'p:first-child'\n```\n\nOr some of these:\n```\n# get a list of all of my public repos from github\n$ scrape https://github.com/pthrasher 'li.public.source h3 a'\n\n# Check if a website is down via down for everyone or just me:\n$ scrape http://www.downforeveryoneorjustme.com/google.com '/html/body//div[@id=\"container\"]/text()' | head -n 1\nIt's just you.\n$ scrape http://www.downforeveryoneorjustme.com/lkjsdflkjsdf.com '/html/body//div[@id=\"container\"]/text()' | head -n 1\nIt's not just you!\n\n# Or make it a shell function:\nfunction justme() {\n    scrape http://www.downforeveryoneorjustme.com/$1 '/html/body//div[@id=\"container\"]/text()' | head -n 1\n}\n\n# Then run it like so:\n$ justme google.com\nIt's just you\n$ justme lkjsdflkjsdf.com\nIt's not just you!\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/gruntjs/grunt).\n\n## Release History\n* 0.1.9 - Initial release\n  * Supports XPath queries via google's wicked fast xpath library\n  * Supports css selector queries using qwery\n\n## License\nCopyright (c) 2012 pthrasher  \nLicensed under the MIT license.\n","maintainers":[{"name":"pthrasher","email":"philipthrasher@gmail.com"}],"time":{"modified":"2022-06-13T06:09:26.511Z","created":"2012-11-14T21:07:48.372Z","0.1.0":"2012-11-14T21:07:48.744Z","0.1.1":"2012-11-14T21:12:08.765Z","0.1.2":"2012-11-14T21:48:32.589Z","0.1.4":"2012-11-14T22:07:48.248Z","0.1.5":"2012-11-14T22:14:45.252Z","0.1.6":"2012-11-14T22:17:42.795Z","0.1.7":"2012-11-14T22:22:30.360Z","0.1.8":"2012-11-14T22:37:34.615Z","0.1.10":"2015-10-02T15:15:48.826Z"},"author":{"name":"Philip Thrasher","email":"philipthrasher@gmail.com"},"repository":{"type":"git","url":"git://github.com/pthrasher/cli-scrape.git"},"users":{"rchk":true},"homepage":"https://github.com/pthrasher/scrape","keywords":["scrape","scraper","scraping","jquery","qwery","css","selector","xpath"],"bugs":{"url":"https://github.com/pthrasher/cli-scrape/issues"},"readmeFilename":"README.md"}