🖼️ Cover & Scraper

Give every book on your shelf publication-grade physical book aesthetics.
Category: Advanced Guide · Estimated Reading Time: 3 minutes
Many downloaded web novels or plain-text files come without covers or carry distorted, low-resolution thumbnails. BookFun features a dedicated cover scraper, universal network circuit breakers, and golden ratio auto-cropping. This guide explains how to furnish your collection with crisp, hardcover-style covers and complete metadata without network overhead.


📑 In This Guide

  1. Strengths of the 3 Major Search Engines & Universal Circuit Breakers
  2. Automatic Title Purification: Why Matches Are So Accurate
  3. 0.72 Golden Ratio: The Secret to Zero Distortion
  4. Custom Covers from Your Photo Library
  5. One-Tap Shelf Auto-Scraper: Full Metadata & Pacing Queue

1. Strengths of the 3 Major Search Engines & Universal Circuit Breakers

Long-press any book on your shelf and choose “Change Cover”, or tap “Online Cover Search” in reading settings to open the Scraper Center:
Cover Scraping

  • 🇨🇳 Baidu Images: Outstanding hit rates for domestic serials, web novels, and fantasy sagas;
  • 🌐 Microsoft Bing: Exceptional for classics, humanities, non-fiction, and foreign literature with clean, watermark-free images;
  • 🌍 Google Images: Comprehensive global coverage for light novels, translated works, and international editions.

1.1 Universal Circuit Breaker (ScraperCircuitBreaker)

  • Granular Health Tracking: Dedicated health monitors track Baidu, Douban, Bing, and Google;
  • Fast-Path Short-Circuiting: Queries high-confidence domestic engines first; when matching metadata is found, the engine instantly short-circuits to bypass slower overseas requests;
  • 300-Second Cooling Period: After 2 consecutive timeouts on an engine, it enters a 300-second cooling window during which requests return immediately from local memory with 0ms delay, preventing endless retry loops;
  • NWPathMonitor Offline Zero-Request Guard: Monitors system network status in real time. In Airplane Mode or when offline, 0 external network requests are initiated, completely blocking error popups.

Scraper Configuration


2. Automatic Title Purification: Why Matches Are So Accurate

Raw eBook filenames often carry noise like Dream_of_the_Red_Chamber[Complete_Edition]_TXT_Author_Cao.txt. Querying raw filenames directly rarely yields high-quality book covers.

BookFun runs an automatic text purification pipeline in the background:

  • Strips out web encoding artifacts like &;
  • Identifies and removes prefixes like "Author:" or "By:";
  • Eliminates noise tags like "[Verified Final]" or "TXT Download", extracting the pure title to search with pinpoint accuracy!

3. 0.72 Golden Ratio: The Secret to Zero Distortion

Ordinary readers stretch wide images into tall rectangles, distorting character faces and text.

BookFun standardizes on the 0.72 golden ratio (Width : Height ≈ 1 : 1.39) used in physical hardcover publishing:

  • When an online image is selected, the system automatically centers and crops it proportionally;
  • Non-proportional stretching is strictly prevented, ensuring all book cards on your shelf align uniformly and elegantly.

4. Custom Covers from Your Photo Library

  • Use Personal Posters & Art: Found a beautiful poster or fan illustration? Tap “Choose from Photos” to upload and crop it directly;
  • Native Embedded Cover Extraction: When importing EPUB or Kindle books that contain embedded artwork, BookFun extracts the official cover automatically.

5. One-Tap Shelf Auto-Scraper: Full Metadata & Pacing Queue

Imported dozens of books and don’t want to search covers one by one?

Auto Scraper

  • One-Tap Automated Completion: Tap the “More Menu (···)” in the top-right corner of the bookshelf and select “Auto Scrape”;
  • Full Dimensional Enrichment: In addition to high-resolution covers, the auto-scraper enriches author names, curated synopses, and genre tags automatically;
  • Low-Power Pacing Queue (BatchBookScraperQueue): Runs sequentially in the background (.utility priority) with an intentional 1.2-second cooling buffer between books, preventing CPU heating, battery drain, and HTTP 429 rate limits;
  • Failure Auto-Abort: If 3 consecutive books fail across all engines or all endpoints trip their circuit breakers, the batch queue safely terminates automatically with a clear status notice.

Tip

Continue exploring with: