- Download Here --> https://tinyurl.com/46sfc2pz?id20482362 (Copy and Paste Link) hareku/fanbox-dl This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit Git stats Files Failed to load latest commit information. README.md fanbox-dl: Pixiv FANBOX Downloader fanbox-dl will download media of supported and followed creators on FANBOX. Caution: fanbox-dl is command-line-program, so it doesn't provide graphical user interface. The latest binary can be downloaded here. Windows (64bit): fanbox-dl_x.x.x_Windows_x86_64.exe Windows (32bit): fanbox-dl_x.x.x_Windows_i386.exe Mac: fanbox-dl_x.x.x_Darwin_x86_64 Mac (M1 CPU): fanbox-dl_x.x.x_Darwin_arm64 Open a command line interpreter. For example, If you are Windows user, open Command Prompt or PowerShell . If you are Mac user, open Terminal . Execute the downloaded fanbox-dl binary. You can see usage by running fanbox-dl --help . If you want to re-download all images from the creator https://www.fanbox.cc/@creatornamehere , execute fanbox-dl --sessid xxxxx --save-dir ./content --creator creatornamehere --all . And you can see media in the relevant directory. ./content/creatornamehere/xxxx.jpg . Acquiring your FANBOXSESSID fanbox-dl needs your account FANBOXSESSID to download supported content, which has your login state stored in a browser Cookie. For example, if you are using Google Chrome, you can get it by following the steps in https://developers.google.com/web/tools/chrome-devtools/storage/cookies. Please open an issue or pull request. Greasy Fork You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script. You will need to install an extension such as Tampermonkey or Violentmonkey to install this script. You will need to install an extension such as Tampermonkey or Violentmonkey to install this script. You will need to install an extension such as Tampermonkey or Userscripts to install this script. You will need to install a user script manager extension to install this script. How to install You will need to install an extension such as Stylus to install this script. You will need to install an extension such as Stylus to install this script. You will need to install an extension such as Stylus to install this script. You will need to install a user style manager extension to install this script. You will need to install a user style manager extension to install this script. // ==UserScript== // @name Fanbox图片下载器 // @name:en Fanbox Downloader // @namespace http://tampermonkey.net/ // @namespace https://github.com/709924470/pixiv_fanbox_downloader // @version 1.0.0 // @description Download Pixiv Fanbox Images. // @description:en Download Pixiv Fanbox Images. // @author rec_000@126.com // @include /^https?:\/\/(.+?\.)?fanbox\.cc\/(@.+\/)?posts\/\d+/ // @grant GM_xmlhttpRequest // @grant GM_getValue // @grant GM_setValue // @require https://cdnjs.cloudflare.com/ajax/libs/jszip/3.2.0/jszip.min.js // ==/UserScript== (function() ); >catch(err) >); >; guardObserver.observe(document.body, ); setTimeout(() => mainFunc(null), 5000); window.forceAddbutton = mainFunc; var observeFlag = false; var lastLoc = window.location.href; var enableZip = true, enableSingle = true, nameformat = "$title-", auto = false; var count = 0, downloaded = 0; var zip; var timeoutBackup; var addFile = (name, content) => zip.file(name, content); var generateName = (name, url) => name + ( "_" + count++ ) + "." + url.split(".")[url.split(".").length - 1]; function rootObserver(mutations) observeFlag = false; timeoutBackup = setInterval(function() > > ); >else >, 1000); > if(!observeFlag)); >else > >); > function checkIsSub() function mainFunc(btn) zip = new JSZip(); count = 0; var button = null; for (var c = 0; c if(!checkIsSub()) if ((button === null && btn === null)) parentNode = parentNode.parentNode; > button = parentNode; >); if(button === null) >else if(button !== null || btn !== null) if(getAllImageUrl().length == 0) scriptState = true; if(auto)else > console.log("[Fanbox Downloader.js] Successfully added the button."); var p = document.createElement("p"); var newButton = document.createElement("button"); button.classList.forEach(function(item)); newButton.id = "dl_images"; newButton.innerText = "下载图片\nDirect download"; newButton.onclick = function(); p.appendChild(newButton); p.appendChild(document.createElement("br")); var zipButton = document.createElement("button"); button.classList.forEach(function(item)); zipButton.id = "dl_zip"; zipButton.innerText = "打包下载\nDownload as Zip"; zipButton.onclick = function(); p.appendChild(zipButton); p.oncontextmenu = function(e); button.parentNode.appendChild(p); return true; > function downloadImages(. urls) var name = formatName(); urls.forEach(function(url)); return undefined; > function downloadImages_ZIP(. urls) var i = 0, name = formatName(); urls.forEach(function(url) [" + i + "]" , urls); i++; return; > forceDownload(url,generateName(name, url),true); i++; >); return undefined; > function formatName() >); var dict = ; var result = nameformat; for(var i in dict) > return result.replace("/", "_"); > function initSettings() function createSettingsPopup() var style = document.createElement("style"); style.id = "settings-style"; style.innerHTML = `.settings .settings-content .close .close:hover, .close:focus `; document.body.appendChild(style); var panel = document.createElement("div"); panel.className = "settings"; panel.id = "settings"; panel.style.display = "block"; window.onclick = (e) => >; var content = document.createElement("div"); content.className = "settings-content"; panel.appendChild(content); var close = document.createElement("span"); close.className = "close"; close.innerHTML = "×"; close.onclick = (e) => ; content.appendChild(close); content.innerHTML += `Fanbox downloader settings 设置 自动下载 / Auto download 自动单张下载 / Automatically download as single Images 自动打包下载 / Automatically download as packed Zip file 命名格式 / File name format "$title" = 标题    "$author" = 作者名    "$userid" = 用户ID "$createdate" = 创建日期    "$editdata" = 修改日期 `; var save = document.createElement("button"); save.innerText = "Save 保存设置"; content.appendChild(save); document.body.appendChild(panel); document.getElementById("format").value = nameformat; save.onclick = (e) => ; document.getElementById("auto").onchange = (e) => else > > function getAllImageUrl() div > img"); var result = []; for(var i = 0; i return result; > function forceDownload(url, fileName,zipFlag) dlList.push(fileName); console.log("[Fanbox Downloader.js] Downloading " + fileName); GM_xmlhttpRequest( addFile(fileName,response.response); downloaded++; if(dlList.length == downloaded)); > >, onprogress: function (e) " + ratio); return; > console.log("[Fanbox Downloader.js] " + fileName + " downloaded " + (e.loaded / 1024).toFixed(3) + "kB (No total length found)"); >, onerror: function(e), >); > >)();