JsUnpacker
1.0.2indexedRebuilds JavaScript blocks packed with Dean Edwards' Packer, aiding in automated data tasks like site scraping by providing unpacked JavaScript for parsing. Includes usage examples.
5
Stars
1
Used by
dependents
—
Health
/ 100
Rebuilds JavaScript blocks packed with Dean Edwards' Packer, aiding in automated data tasks like site scraping by providing unpacked JavaScript for parsing. Includes usage examples.
This a rebuilt unpacker for JavaScript blocks that were packed with Dean Edwards JavaScript's Packer.
The project is based on php-javascript-unpacker.
This project is available on maven central
implementation("dev.datlag.jsunpacker:jsunpacker:1.0.1")
The purpose of this script is to unpack automated data, e.g. site scraping, where you need to get the unpacked version of a packed JavaScript to parse out link or something like that.
The UnpackUnitTest class provides some small examples and shows some limitations on how to use it.
val isPacked = JsUnpacker.detect("some string here")
val unpacked = JsUnpacker.unpackAndCombine("simple example")
println(isPacked)
println(unpacked)
Surfaced from shared tags and platforms — no rankings paid for.