extract

abstract suspend fun extract(url: String, customHeaders: Map<String, String>? = null, onLinkFound: (MediaLink) -> Unit)

Extracts resource links from the provided embed URL.

Return

A list of MediaLink objects representing the extracted links.

Parameters

url

The URL to extract from.

customHeaders

Additional headers to include in the request.