Add Google Books support
Match books.google.com and google.com/books/edition pages, extract the ISBN from page text with a title/author fallback, and bump version to 1.2 so userscript auto-update picks it up. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X4uRGZZ4EpYHA4PNK3x5JY
This commit is contained in:
parent
9117841bb1
commit
ac9c35b06d
2 changed files with 22 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ The script auto-updates itself from this repo (via `@updateURL`), so you don't n
|
|||
|
||||
## What it does
|
||||
|
||||
On a book page on Bookshop.org, Amazon (`.fr`/`.com`), or Waterstones, it:
|
||||
On a book page on Bookshop.org, Amazon (`.fr`/`.com`), Waterstones, or Google Books, it:
|
||||
|
||||
1. Extracts the book's ISBN (from the URL or page content) and, as a fallback, title/author.
|
||||
2. Checks whether the book is available on:
|
||||
|
|
@ -24,6 +24,7 @@ On a book page on Bookshop.org, Amazon (`.fr`/`.com`), or Waterstones, it:
|
|||
- `bookshop.org/p/books/*`
|
||||
- `waterstones.com/book/*`
|
||||
- `amazon.fr` and `amazon.com` product pages (`/dp/*`)
|
||||
- Google Books (`books.google.com/books?id=…`, `google.com/books/edition/…`)
|
||||
|
||||
## Notes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue