Skip to content

Commit

Permalink
馃晩 #7
Browse files Browse the repository at this point in the history
馃晩
  • Loading branch information
keyiflerolsun committed Mar 1, 2024
1 parent c3a624d commit d12c0a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DiziMom/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 4
version = 5

cloudstream {
authors = listOf("keyiflerolsun")
Expand All @@ -14,5 +14,5 @@ cloudstream {
**/
status = 1 // will be 3 if unspecified
tvTypes = listOf("TvSeries")
iconUrl = "https://www.google.com/s2/favicons?domain=www.dizimom.de&sz=%size%"
iconUrl = "https://www.google.com/s2/favicons?domain=www.dizimom.tv&sz=%size%"
}
2 changes: 1 addition & 1 deletion DiziMom/src/main/kotlin/com/keyiflerolsun/DiziMom.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.lagradost.cloudstream3.utils.*
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors

class DiziMom : MainAPI() {
override var mainUrl = "https://www.dizimom.de"
override var mainUrl = "https://www.dizimom.tv"
override var name = "DiziMom"
override val hasMainPage = true
override var lang = "tr"
Expand Down
8 changes: 4 additions & 4 deletions DiziMom/src/main/kotlin/com/keyiflerolsun/bakalim.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
# oturum.cookies.update({"wordpress_logged_in_7e0a80686bffd7035218d41e8240d65f": "keyiflerolsun|1704461004|TJh8nQRYrqZ9xlAyO7rO5QgiqTQiw7op8I6LKkSvytX|0dc654883fad5f0301df32e6465aa676a3f235288dd9c8a73260d9c8a20b19ae"})

oturum.post(
url = "https://www.dizimom.de/wp-login.php",
url = "https://www.dizimom.tv/wp-login.php",
data = {
"log" : "keyiflerolsun",
"pwd" : "12345",
"rememberme" : "forever",
"redirect_to" : "https://www.dizimom.de",
"redirect_to" : "https://www.dizimom.tv",
}
)

istek = oturum.get("https://www.dizimom.de/modern-dogu-masallari-1-sezon-7-bolum-izle/")
istek = oturum.get("https://www.dizimom.tv/modern-dogu-masallari-1-sezon-7-bolum-izle/")
konsol.print(istek.url)

secici = Selector(istek.text)
iframe = secici.css("div.video iframe::attr(src)").get()
konsol.print(iframe)

oturum.headers.update({"Referer": "https://www.dizimom.de/"})
oturum.headers.update({"Referer": "https://www.dizimom.tv/"})
i_source = oturum.get(iframe).text

be_player = search(r"bePlayer\('([^']+)',\s*'(\{[^\}]+\})'\);", i_source).groups()
Expand Down

0 comments on commit d12c0a9

Please sign in to comment.