unpackLink

fun unpackLink(link: String, packedSelector: (values: List<String>) -> String = { it.first() }): String

Search packed functions in the link html and decode ONE defined by packedSelector, by default the first packed found will be decoded. Packed functions will be searched using this regex: eval\((function\(p,a,c,k,e,?dr?\)..split\('\|'\).)\)

Return

The decoded packed function selected by packedSelector

Parameters

link

The link used to search the packed functions

packedSelector

Selects a single packed code from the list