Goodreads Book Metadata with Multiple AI Options

Copies Goodreads book metadata to JSON format with multiple AI-powered category selection options

Автор
Snowman King
Инсталации дневно
0
Инсталации общо
10
Рейтинг
0 0 0
Версия
1.0.1
Създаден
22.10.2024
Обновен
22.10.2024
Лиценз
MIT
Работи на

Goodreads Book Metadata Extractor

This script enhances your Goodreads browsing experience by adding a convenient button to extract comprehensive metadata from book pages. It's perfect for users who want to streamline the process of cataloging books on MAM or any other site that uses the same json parser. If you don't know what MAM is, don't ask, as that means this script won't help you.

Features:

  • Extracts detailed metadata including title, authors, description, series info, and ISBN/ASIN numbers
  • Extracts cover images from Goodreads' high-quality sources
  • Advanced category matching using direct mapping from Goodreads shelves, scoring, or AI-powered selection
  • Cleans up author names by removing titles, credentials, and academic honorifics
  • Formats additional tags with publication info, page count, and Goodreads-specific details
  • Properly formats descriptions with BBCode for forum compatibility
  • Copies metadata to clipboard in JSON format
  • Handles series information from both title and metadata sections

How to Use:

  1. Install the script using Tampermonkey or another userscript manager
  2. Navigate to any Goodreads book page
  3. Look for the metadata button with logo in the bottom-right corner of the page
  4. Click the button to process and copy the metadata to your clipboard

Customization:

You can customize the script by modifying the following constants at the top of the script:

  • CATEGORY_SELECTION_METHOD: Choose between direct mapping (1), scoring method (2), or AI-based selection (3)
  • AI_MODEL: Select your preferred AI model when using AI-based selection:
    • 0: None (falls back to direct mapping)
    • 1: ChatGPT (OpenAI)
    • 2: Meta Llama
    • 3: Google Gemini 128K
    • 4: Mistral AI
    • 5: Google Gemini 1M
    • 6: Anthropic Claude 3

Compatibility:

This script works on all Goodreads book pages (URLs containing /book/show/) and handles both standard books and series entries.

Notes:

  • This script is intended for personal use and cataloging purposes
  • When using AI-based category selection, you'll need to provide your own API keys
  • The script defaults to English if no language is specified on Goodreads
  • For any issues or feature requests, please comment on the script page on MAM
  • Series information is extracted and formatted according to MAM standards
  • Tags are generated from multiple Goodreads metadata fields for comprehensive categorization

Enjoy easier book cataloging with this metadata extractor!