Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

feat(lib/UniversalExtractor): Implementation of a universal extractor by adly #79

Merged
merged 4 commits into from
Sep 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete logs
Dark25 committed Sep 11, 2024
commit 1d0ff2ae77077d42dafd85b613edf7975cc0a231
Original file line number Diff line number Diff line change
@@ -66,7 +66,6 @@ class UniversalExtractor(private val client: OkHttpClient) {
webView?.destroy()
webView = null
}
Log.d("UniversalExtractor", "Result URL: $resultUrl from $origRequestUrl host: $host")
return when {
"m3u8" in resultUrl -> playlistUtils.extractFromHls(resultUrl, origRequestUrl, videoNameGen = { "$prefix - $host: $it" })
"mpd" in resultUrl -> playlistUtils.extractFromDash(resultUrl, { it -> "$prefix - $host: $it" }, referer = origRequestUrl)