extractVidstream

suspend fun extractVidstream(    iframeUrl: String,     mainApiName: String,     callback: (ExtractorLink) -> Unit,     iv: String?,     secretKey: String?,     secretDecryptKey: String?,     isUsingAdaptiveKeys: Boolean,     isUsingAdaptiveData: Boolean,     iframeDocument: Document? = null): Resource<Unit>(source)

Parameters

iframeUrl

something like https://gogoplay4.com/streaming.php?id=XXXXXX

mainApiName

used for ExtractorLink names and source

iv

secret iv from site, required non-null if isUsingAdaptiveKeys is off

secretKey

secret key for decryption from site, required non-null if isUsingAdaptiveKeys is off

secretDecryptKey

secret key to decrypt the response json, required non-null if isUsingAdaptiveKeys is off

isUsingAdaptiveKeys

generates keys from IV and ID, see getKey()

isUsingAdaptiveData

generate encrypt-ajax data based on $("scriptdata-name='episode'")0.dataset.value