@cifumo/scraper-node
Version:
Sebuah Module Scraper yang dibuat oleh Sxyz dan SuzakuTeam untuk memudahkan penggunaan scraper di project ESM maupun CJS.
780 lines (564 loc) • 21.7 kB
Markdown
<div align="center">
<img src="https://files.catbox.moe/5idb5o.png" alt="SuzakuTeam Scraper Modules" style="border-radius: 15px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); max-width: 400px; width: 100%; height: auto; margin-bottom: 20px;">
<h1>@SuzakuTeam/scraper-node</h1>
<p><strong>🚀 Scraper Modules By SuzakuTeam</strong></p>
<p>
<a href="https://www.npmjs.com/package/@suzakuteam/scraper-node">
<img src="https://badge.fury.io/js/@suzakuteam%2Fscraper-node.svg" alt="npm version">
</a>
<a href="https://opensource.org/licenses/MIT">
<img src="https://img.shields.io/badge/License-ISC-yellow.svg" alt="License: MIT">
</a>
<a href="https://nodejs.org/">
<img src="https://img.shields.io/badge/node-%3E%3D%2016.0.0-brightgreen" alt="Node.js Version">
</a>
</p>
<p>🌍 <em>Available in multiple languages | Tersedia dalam berbagai bahasa</em></p>
</div>
<center>
<details>
<summary>📖 Docs (ID)</summary>
> **🎉 BERITA SPESIAL!** Sekarang Scraper-node sudah mendukung untuk bekerja di lingkungan **ESM maupun CJS sekaligus**, membuat nya semakin **worth-it** untuk di coba! Nikmati fleksibilitas maksimal dalam proyek Anda! 🔥
Library web scraping yang powerful dan efisien untuk aplikasi Node.js modern. Dirancang dengan fokus pada performa tinggi dan kesederhanaan penggunaan.
## Fitur Utama
- **Dual Module Support** - Mendukung ESM dan CommonJS sekaligus
- **Performa Tinggi** - Dioptimalkan untuk kecepatan dan efisiensi memori
- **Type-Safe** - Dukungan penuh TypeScript dengan definisi tipe komprehensif
- **API Modern** - Interface berbasis Promise dengan dukungan async/await
- **Ringan** - Dependensi minimal, performa maksimal
## Stack Teknologi
- **Bahasa Pemrograman**: JavaScript (ES2022+)
- **Sistem Modul**: ESM & CommonJS
- **Runtime**: Node.js 16+
- **Arsitektur**: Pattern async/await modern
## Instalasi
```bash
# Menggunakan npm
npm install @suzakuteam/scraper-node
# Menggunakan yarn
yarn add @suzakuteam/scraper-node
# Menggunakan pnpm
pnpm add @suzakuteam/scraper-node
```
## Penggunaan Cepat
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
/* output
{
tools: {
nsfwDetector: [AsyncFunction: nsfwDetector],
ttsmp3: [AsyncFunction: ttsmp3],
checkHost: [AsyncFunction: checkHost],
pornDetector: [AsyncFunction: pornDetector],
saveWebsite: [AsyncFunction: saveWebsite],
translate: [AsyncFunction: translate],
ytTranscript: [AsyncFunction: ytTranscript],
jsToCoffeeScript: { cjs: [AsyncFunction: cjs], esm: [AsyncFunction: esm] }
},
ai: {
ss2code: [AsyncFunction: ss2code],
chatAIOrg: [AsyncFunction: chatAIOrg],
chatAIOrgPrompt: [AsyncFunction: chatAIOrgPrompt],
gptOnline: [AsyncFunction: gptOnline],
aiCodeAssistant: [AsyncFunction: aiCodeAssistant],
toBald: [AsyncFunction: toBald],
toBlack: [AsyncFunction: toBlack],
toPiggy: [AsyncFunction: toPiggy],
toNerd: [AsyncFunction: toNerd],
gemini: [AsyncFunction: gemini],
phindChat: [AsyncFunction: phindChat]
},
downloader: {
allinonedownloader: [AsyncFunction: allinonedownloader],
fbPhoto: [AsyncFunction: fbPhoto],
twitter: [AsyncFunction: twitter],
fbVideo: [AsyncFunction: fbVideo],
ttsave: [AsyncFunction: ttsave],
spotify: [AsyncFunction: spotify]
},
game: {
mlHeroDetails: [AsyncFunction: mlHeroDetails],
mlHeroes: [AsyncFunction: mlHeroes],
ffChar: [AsyncFunction: ffChar]
},
anime: {
animeIndo: [AsyncFunction: animeIndo],
quotes: [AsyncFunction: quotes],
anime9Search: [AsyncFunction: anime9Search],
anime9Details: [AsyncFunction: anime9Details]
},
stalker: {
mobilelegends: [AsyncFunction: mobilelegends],
freefire: [AsyncFunction: freefire]
},
info: {
jadwalTV: {
freeChannel: [AsyncFunction: freeChannel],
payChannel: [AsyncFunction: payChannel]
},
jadwalSholat: [AsyncFunction: jadwalSholat]
}
}
*/
```
## Cara Penggunaan Modul
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//Examples: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// Contoh
const ress = await SuzakuTeam.ai.phindChat("Hai Apa Itu JavaScript");
console.log(ress);
})();
```
## Persyaratan Sistem
- Node.js 16.0.0 atau versi lebih tinggi
- Environment yang kompatibel dengan ESM atau CommonJS
- Dukungan runtime JavaScript modern
## Dokumentasi
Dokumentasi lengkap dan contoh penggunaan akan segera tersedia. Pantau terus untuk referensi API dan panduan penggunaan yang detail.
## Kontribusi
Kami saat ini tidak membuka kontribusi terbuka kepada pengguna jadi tunggu update dari team kami di:[Suzaku Team Community](https://whatsapp.com/channel/0029VbB0oUvBlHpYbmFDsb3E)
## Lisensi
Proyek ini dilisensikan di bawah MIT License - lihat file [LICENSE](LICENSE) untuk detail.
## Tim Pengembang
Dikembangkan dengan baik oleh **Tim Suzaku**
**Catatan**
Package ini sekarang mendukung baik environment ESM maupun CommonJS, memberikan fleksibilitas maksimal untuk berbagai jenis proyek Node.js.
</details>
<details>
<summary>📖 Docs (EN)</summary>
> **🎉 SPECIAL NEWS!** Now Scraper-node supports working in both **ESM and CJS environments**, making it even more **worth-it** to try! Enjoy maximum flexibility in your projects! 🔥
A powerful and efficient web scraping library for modern Node.js applications. Designed with a focus on high performance and ease of use.
## Key Features
- **Dual Module Support** - Supports both ESM and CommonJS
- **High Performance** - Optimized for speed and memory efficiency
- **Type-Safe** - Full TypeScript support with comprehensive type definitions
- **Modern API** - Promise-based interface with async/await support
- **Lightweight** - Minimal dependencies, maximum performance
## Technology Stack
- **Programming Language**: JavaScript (ES2022+)
- **Module System**: ESM & CommonJS
- **Runtime**: Node.js 16+
- **Architecture**: Modern async/await patterns
## Installation
```bash
# Using npm
npm install @suzakuteam/scraper-node
# Using yarn
yarn add @suzakuteam/scraper-node
# Using pnpm
pnpm add @suzakuteam/scraper-node
```
## Quick Usage
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
/* output
{
tools: {
nsfwDetector: [AsyncFunction: nsfwDetector],
ttsmp3: [AsyncFunction: ttsmp3],
checkHost: [AsyncFunction: checkHost],
pornDetector: [AsyncFunction: pornDetector],
saveWebsite: [AsyncFunction: saveWebsite],
translate: [AsyncFunction: translate],
ytTranscript: [AsyncFunction: ytTranscript],
jsToCoffeeScript: { cjs: [AsyncFunction: cjs], esm: [AsyncFunction: esm] }
},
ai: {
ss2code: [AsyncFunction: ss2code],
chatAIOrg: [AsyncFunction: chatAIOrg],
chatAIOrgPrompt: [AsyncFunction: chatAIOrgPrompt],
gptOnline: [AsyncFunction: gptOnline],
aiCodeAssistant: [AsyncFunction: aiCodeAssistant],
toBald: [AsyncFunction: toBald],
toBlack: [AsyncFunction: toBlack],
toPiggy: [AsyncFunction: toPiggy],
toNerd: [AsyncFunction: toNerd],
gemini: [AsyncFunction: gemini],
phindChat: [AsyncFunction: phindChat]
},
downloader: {
allinonedownloader: [AsyncFunction: allinonedownloader],
fbPhoto: [AsyncFunction: fbPhoto],
twitter: [AsyncFunction: twitter],
fbVideo: [AsyncFunction: fbVideo],
ttsave: [AsyncFunction: ttsave],
spotify: [AsyncFunction: spotify]
},
game: {
mlHeroDetails: [AsyncFunction: mlHeroDetails],
mlHeroes: [AsyncFunction: mlHeroes],
ffChar: [AsyncFunction: ffChar]
},
anime: {
animeIndo: [AsyncFunction: animeIndo],
quotes: [AsyncFunction: quotes],
anime9Search: [AsyncFunction: anime9Search],
anime9Details: [AsyncFunction: anime9Details]
},
stalker: {
mobilelegends: [AsyncFunction: mobilelegends],
freefire: [AsyncFunction: freefire]
},
info: {
jadwalTV: {
freeChannel: [AsyncFunction: freeChannel],
payChannel: [AsyncFunction: payChannel]
},
jadwalSholat: [AsyncFunction: jadwalSholat]
}
}
*/
```
## Module Usage
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//Examples: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// Example
const ress = await SuzakuTeam.ai.phindChat("Hi What is JavaScript");
console.log(ress);
})();
```
## System Requirements
- Node.js 16.0.0 or higher
- ESM or CommonJS compatible environment
- Modern JavaScript runtime support
## Documentation
Complete documentation and usage examples will be available soon. Stay tuned for detailed API reference and usage guides.
## Contributing
We are currently not accepting open contributions from users, so please wait for updates from our team at: [Suzaku Team Community](https://whatsapp.com/channel/0029VbB0oUvBlHpYbmFDsb3E)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Development Team
Well developed by **Suzaku Team**
**Note**
This package now supports both ESM and CommonJS environments, providing maximum flexibility for various Node.js project types.
</details>
<details>
<summary>📖 Docs (ES)</summary>
> **🎉 ¡NOTICIAS ESPECIALES!** ¡Ahora Scraper-node soporta trabajar en **entornos ESM y CJS**, haciéndolo aún más **vale la pena** probarlo! ¡Disfruta de la máxima flexibilidad en tus proyectos! 🔥
Una biblioteca de web scraping potente y eficiente para aplicaciones Node.js modernas. Diseñada con un enfoque en alto rendimiento y facilidad de uso.
## Características Principales
- **Soporte Dual de Módulos** - Soporta tanto ESM como CommonJS
- **Alto Rendimiento** - Optimizada para velocidad y eficiencia de memoria
- **Type-Safe** - Soporte completo de TypeScript con definiciones de tipos comprehensivas
- **API Moderna** - Interfaz basada en Promise con soporte async/await
- **Ligera** - Dependencias mínimas, rendimiento máximo
## Stack Tecnológico
- **Lenguaje de Programación**: JavaScript (ES2022+)
- **Sistema de Módulos**: ESM & CommonJS
- **Runtime**: Node.js 16+
- **Arquitectura**: Patrones async/await modernos
## Instalación
```bash
# Usando npm
npm install @suzakuteam/scraper-node
# Usando yarn
yarn add @suzakuteam/scraper-node
# Usando pnpm
pnpm add @suzakuteam/scraper-node
```
## Uso Rápido
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
```
## Uso del Módulo
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//Ejemplos: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// Ejemplo
const ress = await SuzakuTeam.ai.phindChat("Hola ¿Qué es JavaScript?");
console.log(ress);
})();
```
## Requisitos del Sistema
- Node.js 16.0.0 o superior
- Entorno compatible con ESM o CommonJS
- Soporte de runtime JavaScript moderno
## Licencia
Este proyecto está licenciado bajo la Licencia MIT - consulte el archivo [LICENSE](LICENSE) para obtener detalles.
## Equipo de Desarrollo
Bien desarrollado por **Suzaku Team**
**Nota**
Este paquete ahora soporta tanto entornos ESM como CommonJS, proporcionando máxima flexibilidad para varios tipos de proyectos Node.js.
</details>
<details>
<summary>📖 Docs (FR)</summary>
> **🎉 NOUVELLES SPÉCIALES !** Maintenant Scraper-node supporte le travail dans les **environnements ESM et CJS**, le rendant encore plus **intéressant** à essayer ! Profitez d'une flexibilité maximale dans vos projets ! 🔥
Une bibliothèque de web scraping puissante et efficace pour les applications Node.js modernes. Conçue avec un focus sur les hautes performances et la facilité d'utilisation.
## Fonctionnalités Principales
- **Support Dual de Modules** - Supporte à la fois ESM et CommonJS
- **Hautes Performances** - Optimisée pour la vitesse et l'efficacité mémoire
- **Type-Safe** - Support complet TypeScript avec définitions de types complètes
- **API Moderne** - Interface basée sur Promise avec support async/await
- **Légère** - Dépendances minimales, performances maximales
## Stack Technologique
- **Langage de Programmation**: JavaScript (ES2022+)
- **Système de Modules**: ESM & CommonJS
- **Runtime**: Node.js 16+
- **Architecture**: Patterns async/await modernes
## Installation
```bash
# Avec npm
npm install @suzakuteam/scraper-node
# Avec yarn
yarn add @suzakuteam/scraper-node
# Avec pnpm
pnpm add @suzakuteam/scraper-node
```
## Utilisation Rapide
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
```
## Utilisation du Module
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//Exemples: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// Exemple
const ress = await SuzakuTeam.ai.phindChat("Salut Qu'est-ce que JavaScript");
console.log(ress);
})();
```
## Exigences Système
- Node.js 16.0.0 ou supérieur
- Environnement compatible ESM ou CommonJS
- Support runtime JavaScript moderne
## Licence
Ce projet est sous licence MIT - voir le fichier [LICENSE](LICENSE) pour les détails.
## Équipe de Développement
Bien développé par **Suzaku Team**
**Note**
Ce package supporte maintenant les environnements ESM et CommonJS, offrant une flexibilité maximale pour divers types de projets Node.js.
</details>
<details>
<summary>📖 Docs (DE)</summary>
> **🎉 SPEZIELLE NACHRICHTEN!** Jetzt unterstützt Scraper-node die Arbeit in **ESM- und CJS-Umgebungen**, was es noch **lohnenswerter** macht, es auszuprobieren! Genießen Sie maximale Flexibilität in Ihren Projekten! 🔥
Eine leistungsstarke und effiziente Web-Scraping-Bibliothek für moderne Node.js-Anwendungen. Entwickelt mit Fokus auf hohe Leistung und einfache Bedienung.
## Hauptmerkmale
- **Dual Module Support** - Unterstützt sowohl ESM als auch CommonJS
- **Hohe Leistung** - Optimiert für Geschwindigkeit und Speichereffizienz
- **Type-Safe** - Vollständige TypeScript-Unterstützung mit umfassenden Typdefinitionen
- **Moderne API** - Promise-basierte Schnittstelle mit async/await-Unterstützung
- **Leichtgewichtig** - Minimale Abhängigkeiten, maximale Leistung
## Technologie-Stack
- **Programmiersprache**: JavaScript (ES2022+)
- **Modulsystem**: ESM & CommonJS
- **Runtime**: Node.js 16+
- **Architektur**: Moderne async/await-Muster
## Installation
```bash
# Mit npm
npm install @suzakuteam/scraper-node
# Mit yarn
yarn add @suzakuteam/scraper-node
# Mit pnpm
pnpm add @suzakuteam/scraper-node
```
## Schnelle Nutzung
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
```
## Modulnutzung
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//Beispiele: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// Beispiel
const ress = await SuzakuTeam.ai.phindChat("Hallo Was ist JavaScript");
console.log(ress);
})();
```
## Systemanforderungen
- Node.js 16.0.0 oder höher
- ESM- oder CommonJS-kompatible Umgebung
- Moderne JavaScript-Runtime-Unterstützung
## Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert - siehe [LICENSE](LICENSE) Datei für Details.
## Entwicklungsteam
Gut entwickelt von **Suzaku Team**
**Hinweis**
Dieses Paket unterstützt jetzt sowohl ESM- als auch CommonJS-Umgebungen und bietet maximale Flexibilität für verschiedene Node.js-Projekttypen.
</details>
<details>
<summary>📖 Docs (JA)</summary>
> **🎉 特別なニュース!** Scraper-nodeは**ESMとCJS環境の両方**での動作をサポートし、より**試す価値のある**ものになりました!プロジェクトで最大限の柔軟性をお楽しみください!🔥
モダンなNode.jsアプリケーション向けの強力で効率的なWebスクレイピングライブラリ。高性能と使いやすさに焦点を当てて設計されています。
## 主な機能
- **デュアルモジュールサポート** - ESMとCommonJSの両方をサポート
- **高性能** - 速度とメモリ効率に最適化
- **型安全** - 包括的な型定義による完全なTypeScriptサポート
- **モダンAPI** - async/awaitサポート付きのPromiseベースインターフェース
- **軽量** - 最小限の依存関係、最大のパフォーマンス
## 技術スタック
- **プログラミング言語**: JavaScript (ES2022+)
- **モジュールシステム**: ESM & CommonJS
- **ランタイム**: Node.js 16+
- **アーキテクチャ**: モダンなasync/awaitパターン
## インストール
```bash
# npmを使用
npm install @suzakuteam/scraper-node
# yarnを使用
yarn add @suzakuteam/scraper-node
# pnpmを使用
pnpm add @suzakuteam/scraper-node
```
## クイック使用法
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
```
## モジュールの使用法
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//例: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// 例
const ress = await SuzakuTeam.ai.phindChat(
"こんにちは JavaScriptとは何ですか",
);
console.log(ress);
})();
```
## システム要件
- Node.js 16.0.0以上
- ESMまたはCommonJS対応環境
- モダンJavaScriptランタイムサポート
## ライセンス
このプロジェクトはMITライセンスの下でライセンスされています - 詳細は[LICENSE](LICENSE)ファイルを参照してください。
## 開発チーム
**Suzaku Team**によって良く開発されています
**注意**
このパッケージは現在ESMとCommonJSの両方の環境をサポートし、様々なNode.jsプロジェクトタイプに最大限の柔軟性を提供します。
</details>
<details>
<summary>📖 Docs (KO)</summary>
> **🎉 특별한 소식!** 이제 Scraper-node는 **ESM과 CJS 환경 모두**에서 작동을 지원하여 더욱 **시도해볼 가치가** 있습니다! 프로젝트에서 최대한의 유연성을 즐겨보세요! 🔥
현대적인 Node.js 애플리케이션을 위한 강력하고 효율적인 웹 스크래핑 라이브러리. 고성능과 사용 편의성에 중점을 두고 설계되었습니다.
## 주요 기능
- **듀얼 모듈 지원** - ESM과 CommonJS 모두 지원
- **고성능** - 속도와 메모리 효율성에 최적화
- **타입 안전** - 포괄적인 타입 정의로 완전한 TypeScript 지원
- **모던 API** - async/await 지원이 포함된 Promise 기반 인터페이스
- **경량** - 최소한의 종속성, 최대 성능
## 기술 스택
- **프로그래밍 언어**: JavaScript (ES2022+)
- **모듈 시스템**: ESM & CommonJS
- **런타임**: Node.js 16+
- **아키텍처**: 현대적인 async/await 패턴
## 설치
```bash
# npm 사용
npm install @suzakuteam/scraper-node
# yarn 사용
yarn add @suzakuteam/scraper-node
# pnpm 사용
pnpm add @suzakuteam/scraper-node
```
## 빠른 사용법
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const listScraper = await SuzakuTeam.list();
console.log(listScraper);
})();
```
## 모듈 사용법
```javascript
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
//예시: const ress = await SuzakuTeam.<category>.<nameScraper>(functionQuery)
// 예시
const ress = await SuzakuTeam.ai.phindChat(
"안녕하세요 JavaScript란 무엇인가요",
);
console.log(ress);
})();
```
## 시스템 요구사항
- Node.js 16.0.0 이상
- ESM 또는 CommonJS 호환 환경
- 현대적인 JavaScript 런타임 지원
## 라이선스
이 프로젝트는 MIT 라이선스 하에 라이선스됩니다 - 자세한 내용은 [LICENSE](LICENSE) 파일을 참조하세요.
## 개발팀
**Suzaku Team**에 의해 잘 개발되었습니다
**참고**
이 패키지는 이제 ESM과 CommonJS 환경을 모두 지원하여 다양한 Node.js 프로젝트 유형에 최대한의 유연성을 제공합니다.
</details>