@suzakuteam/scraper-node
v1.3.0
Published
Sebuah Module Scraper yang dibuat oleh Sxyz dan SuzakuTeam untuk memudahkan penggunaan scraper di project ESM maupun CJS.
Readme
[!IMPORTANT] Hello all👏 i'am sxyz is now active to update this module and fixed something errors, Happy Coding All!☕
A powerful and efficient web scraping library for modern Node.js applications. Designed with a focus on high performance, reliability, and ease of use.
Key Features
- Dual Module Support - Full compatibility with both ESM and CommonJS
- High Performance - Optimized for speed and memory efficiency
- Type-Safe - Complete TypeScript support with comprehensive type definitions
- Modern API - Promise-based interface with async/await support
- Lightweight - Minimal dependencies for maximum performance
- Comprehensive - Wide range of scraping capabilities across multiple platforms
Technology Stack
- Language: JavaScript (ES2022+)
- Module System: ESM & CommonJS
- Runtime: Node.js 16+
- Architecture: Modern async/await patterns
- Type Support: Full TypeScript definitions
Installation
# Using npm
npm install @suzakuteam/scraper-node
# Using yarn
yarn add @suzakuteam/scraper-node
# Using pnpm
pnpm add @suzakuteam/scraper-nodeTable of Contents
- Quick Start
- Basic Usage
- Function Parameters
- API Integration
- Update Logs
- Available Categories
- System Requirements
- Documentation
- Community & Support
Quick Start
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const availableScrapers = await SuzakuTeam.list();
console.log(availableScrapers);
})();Basic Usage
Standard Scraping
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
// Pattern: const result = await SuzakuTeam.<category>.<scraper>(parameters)
const aiResponse = await SuzakuTeam.ai.phindChat("What is JavaScript?");
console.log(aiResponse);
const instagramData = await SuzakuTeam.stalker.instagram("username");
console.log(instagramData);
})();Function Parameters
Check required parameters for any scraper function:
Anti Scraping Detector
Evaluate a website's scraping difficulty and determine its resistance score based on common anti-scraping techniques.
-Esm;
import { SuzakuTeam } from "@suzakuteam/scraper-node";
-Cjs(CommonJS);
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
/**
* @returns {Promise<{
* url: string,
* cloudflare: boolean,
* captcha: boolean,
* rateLimit: boolean,
* robotsBlock: boolean,
* suspiciousHeaders: string[],
* jsChallenge: boolean,
* statusCode: number,
* antiScrapeScore: number,
* scoreLevel: string,
* error: null | string
* }>}
*/
async function main() {
const checkResult = await SuzakuTeam.antiScrapeScan("https://example.com");
console.log(checkResult);
}[!IMPORTANT] This feature is in beta, so if it��s not fully accurate or has some bugs, please bear with us
Check Query Function
Review the query logic within the SuzakuTeam function��or related functions in your project��to determine the necessary queries for proper operation.
-Esm;
import { SuzakuTeam } from "@suzakuteam/scraper-node";
-Cjs(CommonJS);
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
/**
* @returns {Promise<{
* lengths: Number,
* params: [Array]
* }>}
*/
async function main() {
const checkFunction = await SuzakuTeam.getFunctionParams(
SuzakuTeam.ai.lyricsGenerator,
);
console.log(checkFunction);
}Update Logs
[!IMPORTANT] I'am added, remove and change the scraper, utlity, APIs and something.
This is change log update, remove, and change for this module.
Scraper
[2025-06-25] v1.2.9 - Added and removed scraper.
- [⚡] SuzakuTeam.tools.upscale
- Optimization in SuzakuTeam.tools.upscale to ensure correct image file extensions.
- [!] Fixed: Downloader for cjs.
- [!] Fixed: AI for cjs.
- Fixed Errors Success is not definedPlease update to new version for use this update! This update is not available for lower versions. PLEASE UPDATE And HAPPY CODING!☕
API Integration
Access external APIs through the integrated API system:
// ESM
import { SuzakuTeam } from "@suzakuteam/scraper-node";
// CommonJS
const { SuzakuTeam } = require("@suzakuteam/scraper-node");
(async () => {
const apiList = await SuzakuTeam.api;
console.log(apiList);
// Example API usage:
// const result = await SuzakuTeam.apis.VelynAPI.velynAI("Hello");
})();Available Categories
Tools
Utility functions including NSFW detection, translation, text-to-speech, and various converters.
AI
AI-powered features with chatbots, code assistants, and intelligent image processing capabilities.
Downloader
Content download support for major platforms including Facebook, Twitter, Instagram, Spotify, and more.
Game
Gaming-related scrapers supporting Mobile Legends, Free Fire character information, and game statistics.
Anime
Comprehensive anime information, quotes, character details, and search functionality.
Stalker
User information lookup and profile data retrieval for various gaming and social platforms.
Info
Information services including TV schedules, prayer times, and regional data.
News
Indonesian news aggregation from multiple categories and reliable sources.
Search
Advanced search capabilities for NASA data, Spotify content, and specialized databases.
System Requirements
- Node.js 16.0.0 or higher
- ESM or CommonJS compatible environment
- Modern JavaScript runtime support
- Stable internet connection for web scraping operations
Documentation
Complete API documentation and detailed usage examples are available in our comprehensive guide. Each scraper function includes parameter specifications, return value descriptions, and practical implementation examples.
Community & Support
Official Channels:
Contributing: We currently maintain internal development standards. Community contributions will be accepted in future releases with proper guidelines.
License
This project is licensed under the ISC License. See the LICENSE file for complete details.
Development Team
Suzaku Team - Professional development team dedicated to creating high-quality, reliable scraping solutions for the Node.js ecosystem.
Additional Information
This package provides comprehensive dual-module support for both ESM and CommonJS environments, ensuring maximum compatibility across different Node.js project configurations. All functions implement modern asynchronous patterns with promise-based returns, making integration seamless with contemporary JavaScript applications.
Performance Optimizations:
- Efficient memory management
- Optimized request handling
- Minimal dependency footprint
- Advanced error handling and recovery
