SoraStream

master
Swissky 2024-06-30 18:07:10 +02:00
parent 5f0b1fdf8f
commit f5bcdeebff
4 changed files with 7 additions and 9 deletions

0
HDToday/.gitkeep Normal file
View File

View File

@ -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 ?
* 9animetv is the same as Aniwave ?
* upstream.to is using hls2

View File

@ -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}")