✨ 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>
24 lines
675 B
JavaScript
24 lines
675 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.StringWriter = void 0;
|
|
const stream_1 = require("stream");
|
|
class StringWriter extends stream_1.Writable {
|
|
constructor() {
|
|
super(...arguments);
|
|
this.buf = Buffer.alloc(0);
|
|
}
|
|
_write(chunk, _, callback) {
|
|
if (chunk instanceof Buffer) {
|
|
this.buf = Buffer.concat([this.buf, chunk]);
|
|
callback(null);
|
|
}
|
|
else {
|
|
callback(new Error("StringWriter expects chunks of type 'Buffer'."));
|
|
}
|
|
}
|
|
getText(encoding) {
|
|
return this.buf.toString(encoding);
|
|
}
|
|
}
|
|
exports.StringWriter = StringWriter;
|