/unpacker

Java library to unpack JS code compressed by packer

Primary LanguageJava

Unpacker

Moved to https://github.com/tachiyomiorg/tachiyomi-extensions/tree/master/lib/unpacker

A Java library to unpack JavaScript code compressed by packer.

Source code of packer can be found here.

Implementations of the classes are meant to be efficient, so be careful of edge cases.

Usage

Unpacker.unpack(script[, left, right])
  • script can be either String or ProgressiveParser
  • specify left and right to unpack only the data between them

Note: single quotes \' in the data will be replaced with double quotes ".