diff --git a/lib/goodstream-extractor/build.gradle.kts b/lib/goodstream-extractor/build.gradle.kts new file mode 100644 index 0000000000..c26cbc8a82 --- /dev/null +++ b/lib/goodstream-extractor/build.gradle.kts @@ -0,0 +1,3 @@ +plugins { + id("lib-android") +} diff --git a/lib/goodstream-extractor/src/main/java/eu/kanade/tachiyomi/lib/goodstramextractor/GoodStreamExtractor.kt b/lib/goodstream-extractor/src/main/java/eu/kanade/tachiyomi/lib/goodstramextractor/GoodStreamExtractor.kt new file mode 100644 index 0000000000..208a985164 --- /dev/null +++ b/lib/goodstream-extractor/src/main/java/eu/kanade/tachiyomi/lib/goodstramextractor/GoodStreamExtractor.kt @@ -0,0 +1,33 @@ +package eu.kanade.tachiyomi.lib.goodstramextractor + +import eu.kanade.tachiyomi.animesource.model.Video +import eu.kanade.tachiyomi.network.GET +import eu.kanade.tachiyomi.util.asJsoup +import okhttp3.Headers +import okhttp3.OkHttpClient + +class GoodStreamExtractor(private val client: OkHttpClient, private val headers: Headers) { + + fun videosFromUrl(url: String, name: String): List