private.com

9/15/2025, 10:25:49 AM

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name       private.com
// @namespace   Violentmonkey Scripts
// @match       https://members.private.com/en/scene/*
// @grant       none
// @author      -
// @license MIT
// @description 9/15/2025, 10:25:49 AM
// @version 0.0.1.20260522050933
// ==/UserScript==

(function () {
  'use strict';
  var videoPlaylist = document.querySelector ('.title-zone');
  // var linkList = videoPlaylist.querySelectorAll("h1");
  // console.log(videoPlaylist)
  console.log (videoPlaylist.firstChild);
  var linkList = videoPlaylist.querySelectorAll ('.tag-models');
  for (var i = 0; i < linkList.length; i++) {
    console.log (linkList[i].innerText);
  }

  var downloadList = document.querySelectorAll ('.full_download_link');
  // for (var i = 0; i < downloadList.length; i++) {

  i = 0;

  const fileUrl = downloadList[i].href;
  const fileName = downloadList[i].download; // Optional: Specify a custom file name
  const link = document.createElement ('a');
  link.href = fileUrl;
  link.text = fileUrl;

  link.download = fileName; // Set the file name for the download
  document.body.appendChild (link);

  // Trigger the download
  // document.body.removeChild(link);
  console.log (downloadList[i].href);
  // }

  //   const fileUrl = 'https://example.com/path/to/file';
  //     const fileName = 'downloaded-file.txt'; // Optional: Specify a custom file name

  //     // Create an invisible link element
  //     const link = document.createElement('a');
  //     link.href = fileUrl;
  //     link.download = fileName; // Set the file name for the download
  //     document.body.appendChild(link);

  //     // Trigger the download
  //     link.click();

  //     // Clean up the DOM
  //     document.body.removeChild(link);
}) ();