Skip to content

An application to pull ASIN ids from an amazon series page

License

Notifications You must be signed in to change notification settings

freaker2112/kindle-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

kindle-id

This is a Bash script that will pull the ASIN ids from an amazon kindle series page. (like this)

This script only reads local html files, it DOES NOT have amazon api access so attempting to use a link WILL FAIL.

You have to download a local copy of the page. This is built in to most browsers.

The output of this script is in the order the books are displayed on the series page.

Installation

to install you can either:

  1. copy "kindle-id" to /bin/
    OR
  2. copy "kindle-id" to ~/bin/ and add ~/bin to your PATH

Make sure you make "kindle-id" executable with: chmod u+rx kindle-id

You can then run the app with "kindle-id {path/to/html}"

If you want to use this on macos, replace "grep" in "kindle-id" with "ggrep"