Replacing VidGuardExtractor files in extensions
This commit is contained in:
parent
7b99310812
commit
8a4093ab8d
18 changed files with 46 additions and 524 deletions
|
@ -21,7 +21,7 @@ class VidGuardExtractor(private val client: OkHttpClient) {
|
|||
|
||||
private val json: Json by injectLazy()
|
||||
|
||||
fun videosFromUrl(url: String, prefix: String) = videosFromUrl(url) { "$prefix $it" }
|
||||
fun videosFromUrl(url: String, prefix: String) = videosFromUrl(url) { "${prefix}VidGuard:$it" }
|
||||
|
||||
fun videosFromUrl(url: String, videoNameGen: (String) -> String = { quality -> "VidGuard:$quality" }): List<Video> {
|
||||
val res = client.newCall(GET(url)).execute().asJsoup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue