@saurus
@saurus2 files
Published 6 days ago
javascript

Gimovie skrep

buat pecinta doraemon aja inimah btw isinya cmn movie doraemon sma series2 aja

Raw
README.md : Dokumentasi & Panduan

GMovie (com.gidev.gimovie) - Android API Scraper

Creator: SAURUS
Saluran: https://whatsapp.com/channel/0029VbDhTC6KLaHjHKXl552C

Note: pliss guys jangan di klaim 100% buatan lu, lu boleh kok modifikasi trs share lagi tapi tolong jangan ilangin header creator sama ch-nya.

Standalone Node.js ESM client untuk mengakses API GMovie tanpa dependensi eksternal (Zero Dependencies, pure built-in Node.js fetch).


📖 Perintah CLI Lengkap

# Konfigurasi aplikasi
node ./index.js config

# Konten halaman utama (slider, movie, series)
node ./index.js home

# Daftar film & series
node ./index.js movies --page 1
node ./index.js tvseries --page 1

# Detail film / series (termasuk link stream & download)
node ./index.js details 58 --type movie

# Komentar
node ./index.js comments 58

# Pencarian
node ./index.js search "doraemon" --type movie --page 1

# Bantuan
node ./index.js --help

🧪 Contoh Respon Test Live

1. node ./index.js details 58 --type movie

{
  "Creator": "SAURUS",
  "Saluran": "https://whatsapp.com/channel/0029VbDhTC6KLaHjHKXl552C",
  "status": true,
  "data": {
    "videos_id": "58",
    "title": "Movie 45",
    "description": "Nobita and friends finds a secret underwater castle packed with mysteries and riches...",
    "slug": "movie-45",
    "release": "2026-02-27",
    "videos": [
      {
        "video_file_id": "562",
        "label": "SERVER 1",
        "stream_key": "t4fsrm0z83mj",
        "file_type": "dailymotion",
        "file_url": "https://dai.ly/k1xCavkGX7VEOTJwDAq",
        "subtitle": [
          {
            "language": "Indonesian",
            "kind": "captions",
            "url": "https://movie.ghie-lhanx.com/sub/id/movie-45-id.vtt",
            "srclang": "in"
          }
        ]
      },
      {
        "video_file_id": "564",
        "label": "SERVER 2",
        "stream_key": "jby0ecs2aqiu",
        "file_type": "mp4",
        "file_url": "https://movie.ghie-lhanx.com/movie-45.mkv"
      }
    ]
  }
}

2. node ./index.js config

{
  "Creator": "SAURUS",
  "Saluran": "https://whatsapp.com/channel/0029VbDhTC6KLaHjHKXl552C",
  "status": true,
  "data": {
    "app_config": {
      "menu": "grid",
      "program_guide_enable": false,
      "mandatory_login": false,
      "genre_visible": false,
      "country_visible": false
    }
  }
}

💻 Penggunaan Programmatic (ESM)

import { getConfig, getHome, getMovies, getTvSeries, getDetails, getComments, search } from './index.js';

const home = await getHome();
const detail = await getDetails('58', 'movie');
const results = await search('doraemon', 'movie', 1);
console.log(detail.videos);
gimovie.jsjavascript
#!/usr/bin/env node/** * GMovie (com.gidev.gimovie) - Android API Scraper * Creator: SAURUS * Saluran: https://whatsapp.com/channel/0029VbDhTC6KLaHjHKXl552C * Note: pliss guys jangan di klaim 100% buatan lu, lu boleh kok modifikasi trs share lagi tapi tolong jangan ilangin header creator sama ch-nya */ import path from 'node:path';import { fileURLToPath } from 'node:url'; const SAURUS_META = {  Creator: 'SAURUS',  Saluran: 'https://whatsapp.com/channel/0029VbDhTC6KLaHjHKXl552C'}; const CONFIG = {  BASE_URL: 'https://app.ghie-lhanx.com/rest-api/v130',  API_KEY: '24f9cf8494d424c',  AUTHORIZATION: 'Basic Z2ltb3ZpZTpqfnNwdjI3b2c5a2U5enpr',  USER_AGENT: 'okhttp/5.5.0',  TIMEOUT_MS: 15000}; async function requestApi(endpoint, params = {}) {  const url = new URL(`${CONFIG.BASE_URL}/${endpoint.replace(/^\/+/, '')}`);  for (const [k, v] of Object.entries(params)) {    if (v !== undefined && v !== null && v !== '') {      url.searchParams.set(k, String(v));    }  }   const controller = new AbortController();  const timer = setTimeout(() => controller.abort(), CONFIG.TIMEOUT_MS);   try {    const res = await fetch(url.toString(), {      method: 'GET',      headers: {        'API-KEY': CONFIG.API_KEY,        'Authorization': CONFIG.AUTHORIZATION,        'User-Agent': CONFIG.USER_AGENT,        'Accept-Encoding': 'gzip'      },      signal: controller.signal    });     const text = await res.text();    if (!res.ok) {      throw new Error(`HTTP ${res.status}: ${text.slice(0, 300)}`);    }    return JSON.parse(text);  } finally {    clearTimeout(timer);  }} async function getConfig() {  return requestApi('config');} async function getHome() {  return requestApi('home_content_for_android');} async function getMovies(page = 1) {  return requestApi('movies', { page });} async function getTvSeries(page = 1) {  return requestApi('tvseries', { page });} async function getDetails(id, type = 'movie') {  return requestApi('single_details', { type, id });} async function getComments(id) {  return requestApi('all_comments', { id });} async function search(q, type = 'movie', page = 1) {  return requestApi('search', { q, type, page });} function printSuccess(data) {  console.log(JSON.stringify({    ...SAURUS_META,    status: true,    data  }, null, 2));} function printError(err) {  console.error(JSON.stringify({    ...SAURUS_META,    status: false,    error: err instanceof Error ? err.message : String(err)  }, null, 2));  process.exit(1);} async function main() {  const args = process.argv.slice(2);  const command = args[0];   if (!command || command === '--help' || command === '-h') {    printSuccess({      description: 'GMovie (com.gidev.gimovie) Android API Scraper',      usage: {        config: 'node index.js config',        home: 'node index.js home',        movies: 'node index.js movies [--page 1]',        tvseries: 'node index.js tvseries [--page 1]',        details: 'node index.js details <id> [--type movie|tvseries]',        comments: 'node index.js comments <id>',        search: 'node index.js search <query> [--type movie|tvseries] [--page 1]'      }    });    return;  }   try {    const getFlag = (name, fallback) => {      const idx = args.indexOf(name);      return idx !== -1 && args[idx + 1] ? args[idx + 1] : fallback;    };     if (command === 'config') {      printSuccess(await getConfig());    } else if (command === 'home') {      printSuccess(await getHome());    } else if (command === 'movies') {      printSuccess(await getMovies(Number(getFlag('--page', 1))));    } else if (command === 'tvseries') {      printSuccess(await getTvSeries(Number(getFlag('--page', 1))));    } else if (command === 'details') {      const id = args[1];      if (!id) throw new Error('Missing id argument');      printSuccess(await getDetails(id, getFlag('--type', 'movie')));    } else if (command === 'comments') {      const id = args[1];      if (!id) throw new Error('Missing id argument');      printSuccess(await getComments(id));    } else if (command === 'search') {      const q = args[1];      if (!q) throw new Error('Missing query argument');      printSuccess(await search(q, getFlag('--type', 'movie'), Number(getFlag('--page', 1))));    } else {      throw new Error(`Unknown command: ${command}. Run with --help for usage.`);    }  } catch (err) {    printError(err);  }} const currentFile = fileURLToPath(import.meta.url);if (process.argv[1] && path.resolve(process.argv[1]) === path.resolve(currentFile)) {  main();} export {  SAURUS_META,  CONFIG,  getConfig,  getHome,  getMovies,  getTvSeries,  getDetails,  getComments,  search}; export default {  SAURUS_META,  CONFIG,  getConfig,  getHome,  getMovies,  getTvSeries,  getDetails,  getComments,  search};