Swag.live Downloader

Download Releases

Swag.live Downloader

Note: This project is intended for personal learning only. Please comply with all relevant agreements.

This is a video downloader for theswag.livewebsite. Please note that this project only allows you to download videos that you have already purchased on swag. For details, see:swag.live archive.

Installation

You can download the appropriate installer for your system from theReleasepage. If no suitable installer is available, it means the platform is not supported yet.

Mac OS

After downloading and installing, if you are using a macOS version (higher Big Sur), you may encounter the following prompt

mac-open-fail

This happens because the project is for educational purposes and does not have an Apple developer certificate. To resolve this issue, run the following command

xattr -d com.apple.quarantine /Applications/SwagDownloader.app

Windows

After downloading, you can runsetup.exeto install. You might encounter a warning similar to the following

mac-open-fail

This is because the project does not have a signed certificate. You will need to clickRun anywayto proceed with the installation.

Login

You can log into your swag.live account in two ways to access your purchased videos.

Direct Login (Recommended)

If you trust this project, click theActivate Your Accountbutton and log in using your username and password.

Using a Token

If you prefer an alternative, you can activate your account using atokenfrom the source site. Follow these steps:

step-1: Use a browser likeChrome,Firefox,Edge,to visitswag.livelogin and login.

step-2: After successfully logging in, pressF12to open the developer tools and go to theconsoletab.

step-3: Use the following script to extract your token:

var db
var request = indexedDB.open('localforage', 3)
request.onsuccess = function () {
  db = request.result
  var tx = db.transaction('keyvaluepairs', 'readonly')
  var store = tx.objectStore('keyvaluepairs')
  var _request = store.getAll('_refreshToken')
  _request.onsuccess = function () {
    var token = _request.result.toString()
    console.log(token)
  }
}

step-4: Copy the _refreshTokenand paste it into theUse Tokeninput box, then clickActivatebutton to activate your account.