bookshop-search
v0.0.3
Published
A tool to search for books on Bookshop.org using Puppeteer.
Downloads
30
Readme
Bookshop Search
A command-line tool to search for books on Bookshop.org using Puppeteer. The results are output as JSON to standard output.
Features
- Parses the search results from Bookshop.org.
- Outputs the results as JSON to standard output.
Installation
First, ensure you have Node.js and npm installed. Then, install the package globally:
npm install -g bookshop-search
bookshop-search "Nineteen Eighty Four by George Orwell"
example output
[
{
"title": "Nineteen Eighty-Four: The Definitive Edition",
"author": "George Orwell",
"href": "/book/9780648870593"
},
{
"title": "Nineteen Eighty-Four",
"author": "George Orwell",
"href": "/book/9780452284234"
}
]
Disclaimer
This tool is a proof of concept and should not be used in a production environment. It is designed for educational purposes only. According to Bookshop.org's terms of service, the use of robots, spiders, manual, and/or automatic processes, or devices to data-mine, data-crawl, scrape, or index the Website in any manner is prohibited. Use this tool responsibly and at your own risk.