diff --git a/HDToday/.gitkeep b/HDToday/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index 6d55a65..6d5f818 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Cloudstream3 Plugin +# Mnemosyne > Attempt to write some plugins for cloudstream @@ -13,6 +13,7 @@ Mnemosyne provider * ZoroTV (TODO from scratch) :x: * Onstream (TODO from scratch) :x: * SoraStream (from Hexated) :x: +* HDToday :x: ## Docs @@ -35,4 +36,5 @@ adb logcat -s mnemo ## Notes * vidcloud / upcloud uses https://rabbitstream.net/ -* 9animetv is the same as Aniwave ? \ No newline at end of file +* 9animetv is the same as Aniwave ? +* upstream.to is using hls2 \ No newline at end of file diff --git a/Sflix/src/main/kotlin/com/example/UpstreamExtractor.kt b/Sflix/src/main/kotlin/com/example/UpstreamExtractor.kt index 92dad40..9184402 100644 --- a/Sflix/src/main/kotlin/com/example/UpstreamExtractor.kt +++ b/Sflix/src/main/kotlin/com/example/UpstreamExtractor.kt @@ -79,10 +79,7 @@ class Upstream : ExtractorApi() { if (doc.isNotBlank()) { - Log.d("mnemo", "Doc loaded") - Log.d("mnemo", doc) - - // |stretching|jpg|co|upstreamcdn|image|p2|p1|sp|srv|10800|Vgl_12PwxVkiGOdSB5FxUuphliDkdPsIx2FCzuyIC|m3u8|master|9qx7lhanoezn_n|hls2|sources|setup|P2P|Total|else + Log.d("mnemo", "upstream.to loaded") // Find the matches in |file|01097|01|co|upstreamcdn|s18|HTTP val regex1 = """\|file\|(\d+)\|(\d+)\|(\w+)\|(\w+)\|(\w+)\|HTTP""".toRegex() @@ -107,6 +104,8 @@ class Upstream : ExtractorApi() { var (e,t) = matchResult3.destructured // sp|10800|bYYSztvRHlImhy_PjVqV91W7EoXRu4LXALz76pLJPFI|m3u8 var (s,f) = matchResult4.destructured // |data|1719404641|5485070||hide| val fullDomain = "$subdomain.$domain.$tld" + var i = "0.0" + var sp = "0" Log.d("mnemo", "n2 = \"$n2\"") Log.d("mnemo", "n1 = \"$n1\"") @@ -117,9 +116,6 @@ class Upstream : ExtractorApi() { Log.d("mnemo", "s = \"$s\"") Log.d("mnemo", "f = \"$f\"") - var i = "0.0" // &i=0.0&5 - var sp = "0" // - val linkUrl = "https://${fullDomain}/${format}/${n1}/${n2}/${id}/master.m3u8?t=${t}&s=${s}&e=${e}&f=${f}&i=${i}&sp=${sp}" Log.d("mnemo", "Testing ${linkUrl}") diff --git a/SoraStream/build.gradle.kts.todo b/SoraStream/build.gradle.kts similarity index 100% rename from SoraStream/build.gradle.kts.todo rename to SoraStream/build.gradle.kts