✨ Features: - App iOS completa para leer manga sin publicidad - Scraper con WKWebView para manhwaweb.com - Sistema de descargas offline - Lector con zoom y navegación - Favoritos y progreso de lectura - Compatible con iOS 15+ y Sideloadly/3uTools 📦 Contenido: - Backend Node.js con Puppeteer (opcional) - App iOS con SwiftUI - Scraper de capítulos e imágenes - Sistema de almacenamiento local - Testing completo - Documentación exhaustiva 🧪 Prueba: Capítulo 789 de One Piece descargado exitosamente - 21 páginas descargadas - 4.68 MB total - URLs verificadas y funcionales 🎉 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
1.3 KiB
JavaScript
28 lines
1.3 KiB
JavaScript
import { getLoad } from './load.js';
|
|
import { getParse } from './parse.js';
|
|
import { renderWithParse5, parseWithParse5 } from './parsers/parse5-adapter.js';
|
|
import renderWithHtmlparser2 from 'dom-serializer';
|
|
import { parseDocument as parseWithHtmlparser2 } from 'htmlparser2';
|
|
const parse = getParse((content, options, isDocument, context) => options._useHtmlParser2
|
|
? parseWithHtmlparser2(content, options)
|
|
: parseWithParse5(content, options, isDocument, context));
|
|
// Duplicate docs due to https://github.com/TypeStrong/typedoc/issues/1616
|
|
/**
|
|
* Create a querying function, bound to a document created from the provided
|
|
* markup.
|
|
*
|
|
* Note that similar to web browser contexts, this operation may introduce
|
|
* `<html>`, `<head>`, and `<body>` elements; set `isDocument` to `false` to
|
|
* switch to fragment mode and disable this.
|
|
*
|
|
* @category Loading
|
|
* @param content - Markup to be loaded.
|
|
* @param options - Options for the created instance.
|
|
* @param isDocument - Allows parser to be switched to fragment mode.
|
|
* @returns The loaded document.
|
|
* @see {@link https://cheerio.js.org/docs/basics/loading#load} for additional usage information.
|
|
*/
|
|
export const load = getLoad(parse, (dom, options) => options._useHtmlParser2
|
|
? renderWithHtmlparser2(dom, options)
|
|
: renderWithParse5(dom));
|
|
//# sourceMappingURL=load-parse.js.map
|